Skip to content

Commit

Permalink
Merge pull request #60 from bsendpacket/main
Browse files Browse the repository at this point in the history
Add custom FNV-1a for LummaStealer
  • Loading branch information
herrcore authored Jun 21, 2024
2 parents ec514df + c9a5c03 commit 91a19ff
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions algorithms/lumma_fnv1a.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DESCRIPTION = "FNV1a hash with LummaStealer offset, seen in 0cf55c7e1a19a0631b0248fb0e699bbec1d321240208f2862e37f6c9e75894e7"
TYPE = 'unsigned_int'
TEST_1 = 2983287169

def hash(data):
val = 0x268c190a
for c in data:
val = ((val ^ c) * 0x1000193) & 0xffffffff

return val

0 comments on commit 91a19ff

Please sign in to comment.