Analysis

  • max time kernel
    144s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    22-01-2025 19:07

General

  • Target

    2025-01-22_479a4e5f3194140652f6aed2b1b8d282_mafia.exe

  • Size

    12.5MB

  • MD5

    479a4e5f3194140652f6aed2b1b8d282

  • SHA1

    3c76a31492c9ff4018bfb79bc93d83eaf347ba68

  • SHA256

    ac37be5711de20cc3dc8083e7cb353a3b142c49855d407a95d7492c44c59aa74

  • SHA512

    cadd328420e04973fb536a2a9d9c463dadffb4a73398ad5826aa6b21065fc205724b2e023358e47668d7ee11519cccb1f624432dd552b277f831025ba2264adc

  • SSDEEP

    49152:1qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:1qtYc3

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\2025-01-22_479a4e5f3194140652f6aed2b1b8d282_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_479a4e5f3194140652f6aed2b1b8d282_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\erjopjta\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cyqqncbp.exe" C:\Windows\SysWOW64\erjopjta\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create erjopjta binPath= "C:\Windows\SysWOW64\erjopjta\cyqqncbp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_479a4e5f3194140652f6aed2b1b8d282_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description erjopjta "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start erjopjta
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2416
    • 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:2244
  • C:\Windows\SysWOW64\erjopjta\cyqqncbp.exe
    C:\Windows\SysWOW64\erjopjta\cyqqncbp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_479a4e5f3194140652f6aed2b1b8d282_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1936
    • 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:2572

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    bb4ce6997466b8fda2246b04edd06463

    SHA1

    0fb5f3cb1c4b9ba841f5f6e11756ac2f7380251b

    SHA256

    e4d1f970d321b81f0cd0a2813c6ea2ae0ac3241be8674bed3256c9abcdfb8178

    SHA512

    20291f3ace94980b4b7dca906a86d5017482ddeb5e9f78fdf513453049ed7c0c7dc2abd4343d1257bc1acc578598ccc89691ac564d8b37e8cb6af14b2f735d63

  • memory/1936-17-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • memory/2572-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2572-14-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2572-16-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2572-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2572-18-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2916-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2916-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2916-7-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

  • memory/2916-1-0x0000000002F70000-0x0000000003070000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB