Analysis

  • max time kernel
    149s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    26-01-2025 18:39

General

  • Target

    2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe

  • Size

    11.9MB

  • MD5

    cf1ee4c0d22d48ebd7ba5de6d28e37ff

  • SHA1

    feffa2b1e47bb1770e61c0f1b76b37cb4ee4ad1d

  • SHA256

    5cdda5a30dfac65c765ddba79a5eb58eea819a818347e6b9a15e138a553e9c1c

  • SHA512

    6fd0cf200d338613a6eabfe20d12576572c73d12f99e01a7e1b2d431d3b692b6fbb2149e9a48463ee9235bb2e1dfefae692c1e11f9cdf20e970624841b3892b1

  • SSDEEP

    49152:OqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:OqtYc3

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-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rrffckhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2592
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\rrffckhm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rrffckhm binPath= "C:\Windows\SysWOW64\rrffckhm\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rrffckhm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rrffckhm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • 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:1144
  • C:\Windows\SysWOW64\rrffckhm\saptgenn.exe
    C:\Windows\SysWOW64\rrffckhm\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_cf1ee4c0d22d48ebd7ba5de6d28e37ff_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2956
    • 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:2848

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.0MB

    MD5

    ce1d703ddf4fa438fbb93c9473578a71

    SHA1

    8bb244e49588139f57e090a795654701e57c6da1

    SHA256

    537dbeebe9b285a5174f1c3f1ca3b1096d57865d06d08a6c044c41347039eb83

    SHA512

    f26c125f538bce872909e4b243f4c3dd68d9231a260d42167202be9a8426aad7e4fd5eb8cfdb0ff2f16c4abe41bfb04b748be70619a990828caf1f8500fc9a90

  • memory/2408-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2408-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2408-1-0x0000000002F20000-0x0000000003020000-memory.dmp

    Filesize

    1024KB

  • memory/2408-14-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2956-13-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB