Analysis

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

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

General

  • Target

    2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe

  • Size

    10.5MB

  • MD5

    aa08fef5c72940d72201dd8d68ddcb9c

  • SHA1

    9dfa2bd191921c5dbbb640e3806679d8e21131ec

  • SHA256

    796dfc18f2ebaf9c3605f91401f0e3cbc63b4b865d33a233425ff0592bcfb716

  • SHA512

    4043feceac751afc963e2de81e6ba7f1eaf68512d809922adabdb9c09d008ca9434b406e476b2562c6c7cb84bc20c36497108862d0afac2d3bd086ff1ac3a16f

  • SSDEEP

    6144:qLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ:LTYe+D2jFu+iZoUFhAz

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-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ddikkosw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\riqoytao.exe" C:\Windows\SysWOW64\ddikkosw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ddikkosw binPath= "C:\Windows\SysWOW64\ddikkosw\riqoytao.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ddikkosw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ddikkosw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • 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:1632
  • C:\Windows\SysWOW64\ddikkosw\riqoytao.exe
    C:\Windows\SysWOW64\ddikkosw\riqoytao.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_aa08fef5c72940d72201dd8d68ddcb9c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2720
    • 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:2940

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.0MB

    MD5

    6e61e754ecc0884403cb488a695aa9a3

    SHA1

    4c5587f1844e7d59f041001655f0239ba7b467ea

    SHA256

    1388150e93b3fb428cd93732d2fd0b0a26afe18369f0bf39a8655094902983df

    SHA512

    98c04d806035e1f7e223a51c80678c50e75ff674096ee29aa4df891151aeb60c9380999b03efcca06b203c4ad9932fbd12a69e73e4804c5efc2a19048ef0d739

  • memory/2244-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2244-1-0x0000000000560000-0x0000000000660000-memory.dmp

    Filesize

    1024KB

  • memory/2720-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    4KB

  • memory/2940-14-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2940-16-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2940-11-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB

  • memory/2940-18-0x00000000000E0000-0x00000000000F5000-memory.dmp

    Filesize

    84KB