Skip to content

Commit 1818189

Browse files
authored
Update 2026-3-29-Creative approaches to coding a FUD Stagers.md
1 parent 5135be6 commit 1818189

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_posts/2026-3-29-Creative approaches to coding a FUD Stagers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def dwnlod_scode(url):
7373
return None
7474
```
7575

76-
In the code above is pretty straightforward. My shellcode is located in a file that resides on my Github repo and I've reversed the URL string to thwart static analysis efforts. :hurtrealbad: I've also renamed the file extension to something random, in this case `.dyno` as that is not a typical windows file extension and it will not receive as much scrutiny as say a `.bin` file extension. Finally, we return the bytes of the shellcode we just downloaded in the shel_ly variable.
76+
In the code above is pretty straightforward. My shellcode is located in a file that resides on my Github repo and I've reversed the URL string to thwart static analysis efforts. I've also renamed the file extension to something random, in this case `.dyno` as that is not a typical windows file extension and it will not receive as much scrutiny as say a `.bin` file extension. Finally, we return the bytes of the shellcode we just downloaded in the shel_ly variable.
7777

7878
Part 3 - Eggsecuting Shellcode in Memory 🥚
7979
-
@@ -488,7 +488,7 @@ for entry in pe.DIRECTORY_ENTRY_IMPORT:
488488
Part 4 - Cast and Execute!
489489
-
490490

491-
Lastly, this code snippet filters to kernel32.dll imports only. We then match against b"VirtualAlloc", without that string ever appearing plaintext :hurtrealbad:
491+
Lastly, this code snippet filters to kernel32.dll imports only. We then match against b"VirtualAlloc", without that string ever appearing in plaintext.
492492

493493
`imp.address` is the on-disk VA of the IAT slot. Subtracting `pe.OPTIONAL_HEADER.ImageBase` converts it to an RVA. Adding base converts the RVA to the actual runtime address of the slot.
494494

0 commit comments

Comments
 (0)