Analysis

  • max time kernel
    147s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    06-11-2024 19:04

General

  • Target

    2024-11-06_a712770ab4dd9d92f91603ca8c6d6a15_mafia.exe

  • Size

    10.8MB

  • MD5

    a712770ab4dd9d92f91603ca8c6d6a15

  • SHA1

    e22c98c9442ced02cd30838345111269abe47343

  • SHA256

    58a3dc39f0d2c0e812bed7d40e67cb784d778aad1f55fd5dc14ad2280c30b02d

  • SHA512

    5132db28491d14388fc4481caad34361e8f57f2faffb315a953c8e5696bd0172a32672abf492d645c2f4c0de3c54c6510667fe173e1feffbe5c39d70a859ce88

  • SSDEEP

    49152:3Vdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGv:3Vdrl/9zG

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\2024-11-06_a712770ab4dd9d92f91603ca8c6d6a15_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-06_a712770ab4dd9d92f91603ca8c6d6a15_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwixafck\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfgavrsp.exe" C:\Windows\SysWOW64\lwixafck\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lwixafck binPath= "C:\Windows\SysWOW64\lwixafck\tfgavrsp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-06_a712770ab4dd9d92f91603ca8c6d6a15_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lwixafck "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 lwixafck
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • 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:2320
  • C:\Windows\SysWOW64\lwixafck\tfgavrsp.exe
    C:\Windows\SysWOW64\lwixafck\tfgavrsp.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-06_a712770ab4dd9d92f91603ca8c6d6a15_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2960
    • 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:2128

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.9MB

    MD5

    7fcfceceb1cff260958cc202f66bffda

    SHA1

    dd1a614f6ce32e87a6e93294af6464aea3d2d2e2

    SHA256

    5b5380a08f6c0eb635ca9f3342e1187a5e207ec7c7e340b1861fd1fa2cfcfc6b

    SHA512

    114c4289557298ef6bb17aae8c29a423b9c350f0713b4631d0ddbbe47aba4dcfaceb7e40a0c4c7184cdc25a925c1caac071c76f3722ed1c91307728a38cbf5b7

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

    Filesize

    4KB

  • memory/2128-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2128-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2656-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2656-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2656-7-0x0000000000400000-0x0000000000518000-memory.dmp

    Filesize

    1.1MB

  • memory/2656-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

    Filesize

    1024KB

  • memory/2960-17-0x0000000000400000-0x0000000000518000-memory.dmp

    Filesize

    1.1MB