Giter Club home page Giter Club logo

fgpt4-trojan's Introduction

#FreeGPT4 Trojan

The only thing it does is modifying some of your unecessary features, and i did took times to rev-engineering it

And I will never do that again.

This was a random suspicious file found in the wild

Alt text

It goes to this google drive link by "Marketing H Digiatal" <[email protected]>

Payload

The payload is a 2 section in a string, pulled into a variable. Both seperated by ::, with base64 pattern

The script then copy powershell to its workdir (Get-Content wont work normaly if not).

Reconstructed executable loader.ps1

Then it load the string into 2 part, debase64 it, unencrypted it with AES and decompress it with Gzip.

Binary

2 files have the exact same size wth. well it is a dotnet 4.0 program. i decompiled with dnspy and notice it is obfuscated (not a real problem, but it is inexportable though). de4dot does the thing.

as a native regexian, i magicked all the obfuscation out of existence. so ugh, it clearly do something with dlls, and i figured out why...

List of the string used in the program. Side-product of regex extraction.

kernel32.dll
CloseHandle
kernel32.dll
FreeLibrary
kernel32.dll
VirtualProtect
kernel32.dll
CreateFileA
kernel32.dll
CreateFileMappingA
kernel32.dll
MapViewOfFile
msvcrt.dll
memcpy
psapi.dll
GetModuleInformation
kernel32.dll
IsWow64Process
ntdll.dll
kernel32.dll
amsi.dll
AmsiScanBuffer
uFcAB4DD
uFcAB4DCGAA=
ntdll.dll
EtwEventWrite
ww==
whQA
C:\Windows\System32\
C:\Windows\SysWOW64\

ok so well it is a little bit trickier when

Math.Abs(-(-(-Math.Min(3, Math.Abs(int.MaxValue)))))

so it just 3 in unsigned but with extra stupid step dear god.

End

so thats all. I highly rated this, as it is slightly better than brum/test2 stealer, because you did actually know how to payload it the correct way, and not agressively compress it. Hope you the maker happy because you wasted me 3 hour to decomp this, and extra 30min to write this too.

fgpt4-trojan's People

Contributors

huwutao avatar

Stargazers

QuanTrieuPCYT avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.