Analysis

  • max time kernel
    141s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    31-12-2024 18:38

General

  • Target

    2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe

  • Size

    12.8MB

  • MD5

    e25846b398ee51b878603d5b8fd8af11

  • SHA1

    34d90d0997fe5507132e4c935801bc863e1adc4c

  • SHA256

    2f1b23eb1c673bd219f3a3ddcaae4fb4bccf8c66482089e103d21a875d240391

  • SHA512

    12a46f6dba8711bae6b4e350bcd8a8016131451664fab91c3faec66ade5a0c4e57f563dec34333f0ea29ce3104d011d67401af8861487fde4e9f8316c42b516c

  • SSDEEP

    3072:iLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:LOMdRQr7OB0ypmMXnl8XEPM3noSWOC

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mboprvwg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1288
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gidjcpz.exe" C:\Windows\SysWOW64\mboprvwg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mboprvwg binPath= "C:\Windows\SysWOW64\mboprvwg\gidjcpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mboprvwg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mboprvwg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2964
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:2884
  • C:\Windows\SysWOW64\mboprvwg\gidjcpz.exe
    C:\Windows\SysWOW64\mboprvwg\gidjcpz.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-31_e25846b398ee51b878603d5b8fd8af11_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2144
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:536

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\gidjcpz.exe

    Filesize

    13.4MB

    MD5

    f76766d35cf07b1c7c94a52fbc9dba3c

    SHA1

    cbebc35dfb682ffc4e50895085d19bceba674957

    SHA256

    bb27b79d23c82659688fc776040f705f43953a2bf4865073f1d38ae9271ef4c7

    SHA512

    7423a0c9aa858a6349d2687ee5fac8fb7b40d5d7c19708825eebf70c5adb57ae239142c940fb1116f5ca61d1464eb29175aecddf3e37568bb9c96b3cbd6e20c3

  • memory/536-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/536-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/536-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/536-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/536-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2144-15-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2496-3-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2496-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2496-1-0x0000000000500000-0x0000000000600000-memory.dmp

    Filesize

    1024KB

  • memory/2496-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2496-13-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2496-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB