Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

[VB.NET] EOF - End Of File

[VB.NET] EOF - End Of File


Hello everyone. This is little source of EOF i found on HackHound. The credits go to linky and it worked for me fine. Hope it will work for you good too, if you have problem i will try to help you to fix it.

Code
Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (ByVal Destination As Long, ByVal Source As Long, ByVal Length As Integer)

    Function GetEOF(ByVal Path As String) As Long
        Dim ByteArray() As Byte
        Dim PE As Long, NumberOfSections As Integer
        Dim BeginLastSection As Long
        Dim RawSize As Long, RawOffset As Long

        FileOpen(10, Path, OpenMode.Binary, OpenAccess.Default)
        ReDim ByteArray(LOF(10) - 1)
        FileGet(10, ByteArray)
        FileClose(10)

        Call CopyMemory(PE, ByteArray(&H3C), 4)
        Call CopyMemory(NumberOfSections, ByteArray(PE + &H6), 2)
        BeginLastSection = PE + &HF8 + ((NumberOfSections - 1) * &H28)
        Call CopyMemory(RawSize, ByteArray(BeginLastSection + 16), 4)
        Call CopyMemory(RawOffset, ByteArray(BeginLastSection + 20), 4)
        GetEOF = RawSize + RawOffset

    End Function


P.S. Its useful if you making an crypter.... for more informations click following link.


Check other cool tutorials:

★ Mega Thread: Firewalls, Antivirus and Other security tools ★
►◄ Mega Thread: Proxie's & More! ►◄
-★ Mega Thread: VPN's & Proxies ★-
-★ Mega Thread: AntiVirus Programs! ★-
nice but.... would be nice with a little guide on how to implant this thing
This will add "junk" code at the end of a file ?
thanks for the source!
so with this i open a exe and get the eof and then possibly write any code i want to it?
EOF is needed to be included in crypters so they will support crypting of many rats and bots....thankz dude
(Dec 2, 2009 07:10 AM)Sikandar Wrote:  EOF is needed to be included in crypters so they will support crypting of many rats and bots....thankz dude

many runtime crypter have to support EOF (because usually Runtime crypter will corrupt the rat, or bots). But idk, scantime seems didn't need EOF (cmiiw)
(Dec 2, 2009 07:19 AM)Theref Wrote:  many runtime crypter have to support EOF (because usually Runtime crypter will corrupt the rat, or bots). But idk, scantime seems didn't need EOF (cmiiw)

i think scantimes need them too..not really sure though
sikandar it depend on encryption method like rc4 will not corrupt the file(correct me if im wrong) but EoF is like a must on XoR so is Blowfish and twofish AES no need anyways guysso hwo do i used this
isit like i take the the file put it in a variable then put the Eof(infectedfile) isit? or isit sumthing else?
hey this is just reading the EOF not write it do you have the source for writing?
(Dec 5, 2009 03:38 PM)newbie223 Wrote:  hey this is just reading the EOF not write it do you have the source for writing?

dim EOFSHIT as byte
EOFSHIT = GetEOF("C:\fuckenVirusThatIwantTheEOFto.exe")

thats how ya get the info, pretty sure.
You're nothing but a whiskey Delta
naw i noe how get the info i mean writing in the EOF
(Dec 6, 2009 04:00 AM)newbie223 Wrote:  naw i noe how get the info i mean writing in the EOF

Ok, you need help with anything?
how can i install to my scantime crypter ?
And you found this on a SPAM?? Lol.
Thanks for sharing.
i like to put this EOF in my crypt !
as the Infinity Crypter
as this :

[img]http://i47.[censored].com/bec604.jpg[/img]

I Lile to put CheckBox for Tick-UnTick [ 1 Label - EOF Support
As the Infinity Crypter !

How can i do ?


Possibly Related Threads...
Thread / Author Replies Views Last Post
by NobleJul 17, 2024 08:13 AM 4 179 Jul 17, 2024 08:13 AM
Last Post: ShadowCipher
[Python] by SkunT3lloJun 29, 2021 01:59 PM 2 188 Jun 29, 2021 01:59 PM
Last Post: SkunT3llo
[Python] by TreasuretrioAug 2, 2020 08:01 PM 2 149 Aug 2, 2020 08:01 PM
Last Post: Treasuretrio