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
    31-01-2025 06:18

General

  • Target

    2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe

  • Size

    13.3MB

  • MD5

    4e841177032768bf943fe6146883b0a6

  • SHA1

    ee2624d773be4d52f0203218ee96ab716d72930c

  • SHA256

    45d151f9dfbe922d2783ae25abba72cccd65b388388ff870168b4bc2f2dadb20

  • SHA512

    3c995f2b739d321af4e938c672f4bf4f1b563582bd2b7601a712c61ee93ea547de1d2067be17dac039fbb5da25abff053fff7fd25b1430ddaf22a15b8cba4c5d

  • SSDEEP

    3072:RLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/K:UOMdRQr7OB0ypmMXnl8XEPM3noSWOCR

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-31_4e841177032768bf943fe6146883b0a6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jeacmmjb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zbwcvis.exe" C:\Windows\SysWOW64\jeacmmjb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jeacmmjb binPath= "C:\Windows\SysWOW64\jeacmmjb\zbwcvis.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:264
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jeacmmjb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jeacmmjb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1896
    • 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:2912
  • C:\Windows\SysWOW64\jeacmmjb\zbwcvis.exe
    C:\Windows\SysWOW64\jeacmmjb\zbwcvis.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4e841177032768bf943fe6146883b0a6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2892
    • 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:2884

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    28a9364d6e3844a189e4d736d69313d6

    SHA1

    93177b96b6703eed2fac5dbaa2fae594b25a66b4

    SHA256

    be4fba54a1dfbd65e2b64fa6c6b74e084bf194dfdba4cb2417c9b809a9fa34d1

    SHA512

    b21cdd179321b8d8298c95dbb489e5d1c1decbfa7632d51da828851e90bf6bb8ad4c528ebbdba42ee6aed08590c09d4163d7e35b7f8948756ed7a283426d4249

  • memory/2292-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2292-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2292-8-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2292-1-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    4KB

  • memory/2884-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2884-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2884-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2884-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2892-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB