Analysis

  • max time kernel
    148s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 19:55

General

  • Target

    2025-02-01_1a047daff0e921593e326997912f54c3_mafia.exe

  • Size

    14.5MB

  • MD5

    1a047daff0e921593e326997912f54c3

  • SHA1

    dafe70cbcda2cf2ac5604b2012e35736e71d50c3

  • SHA256

    5872b45919be05e0cbfcc6937b2b61995edb68686cf32fe7fd10a961f1ec0506

  • SHA512

    0a6acb0e0bcda3a340791b6cadbdb02a5b8019b5f104ab424dcb61054969ba11ee7b88d1f450062065c2e21f08919b6a703c57b1ba9ba1ce305db9dda14d6dd3

  • SSDEEP

    393216:8XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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-02-01_1a047daff0e921593e326997912f54c3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_1a047daff0e921593e326997912f54c3_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykgfzvqv\
      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\jiwymjkc.exe" C:\Windows\SysWOW64\ykgfzvqv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ykgfzvqv binPath= "C:\Windows\SysWOW64\ykgfzvqv\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_1a047daff0e921593e326997912f54c3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ykgfzvqv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ykgfzvqv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2772
    • 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:2640
  • C:\Windows\SysWOW64\ykgfzvqv\jiwymjkc.exe
    C:\Windows\SysWOW64\ykgfzvqv\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_1a047daff0e921593e326997912f54c3_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2764
    • 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:2656

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.0MB

    MD5

    e22bd18e3e108c61598dc51e7a82d7d7

    SHA1

    75fbe9069d7c40915f3cea9591139bfee696fd50

    SHA256

    c4b4a9eabb23c83ebbaa09a9b859eb607cc6171fcc7d3114580c7b6bcb3a5a92

    SHA512

    4bc5e1d3c04742c024b612b7c2d8bacfa91b88ddf5e9422fa427a2ed506cb140d1538ee644f43dda37d30ce2b51919ecc655d730e83b3710b0758477c1f96960

  • memory/2236-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2236-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2236-3-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2236-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2236-9-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2236-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2656-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2656-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2656-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2656-12-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2656-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2764-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB