Analysis

  • max time kernel
    148s
  • max time network
    155s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-08-2024 14:45

General

  • Target

    2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe

  • Size

    10.0MB

  • MD5

    0b5830fc403efacf6492e62588fe2e3a

  • SHA1

    fdeb8f8b9cea48693c2cbdd08cb04e9ef90c5a8d

  • SHA256

    895e58e998394c5bad05cea208855f3ec100bbe82128cf9dc8aedd9dfa1a6be2

  • SHA512

    a66b328c757b52302a8bddbaa4c26dbbb5a272e128a97db7f5aff9d6e83450fe3f6329f9d57e30324cdefdc53382d7ea7f0826308bea9dc58189fc6a4c792052

  • SSDEEP

    6144:W+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:W+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ifzwdpvc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xjkezvwt.exe" C:\Windows\SysWOW64\ifzwdpvc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ifzwdpvc binPath= "C:\Windows\SysWOW64\ifzwdpvc\xjkezvwt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ifzwdpvc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ifzwdpvc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3420
    • 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:3168
  • C:\Windows\SysWOW64\ifzwdpvc\xjkezvwt.exe
    C:\Windows\SysWOW64\ifzwdpvc\xjkezvwt.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-15_0b5830fc403efacf6492e62588fe2e3a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:512
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3540

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.4MB

    MD5

    1b305d4f0e5adbef62b156fb78795f1c

    SHA1

    0fdef5edccd1ad0296c475d8582e0e80f3e48bab

    SHA256

    1191b5bd620e6ad266bbec8b18c61f2a7b91ea2efaca639115d1ffbbb8e5823c

    SHA512

    de084e22d7c3d80b0c0bc62cc27cd5e6da571693889ec58c1d03959596b1f701e57ad38b5391b3af1c6dcdef0742a8e3d8aab27f35cef91573f1663d8e2f0fe3

  • memory/512-9-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/512-10-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/512-15-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/3540-11-0x00000000003E0000-0x00000000003F5000-memory.dmp

    Filesize

    84KB

  • memory/3540-14-0x00000000003E0000-0x00000000003F5000-memory.dmp

    Filesize

    84KB

  • memory/3540-16-0x00000000003E0000-0x00000000003F5000-memory.dmp

    Filesize

    84KB

  • memory/3764-1-0x0000000000780000-0x0000000000880000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/3764-6-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/3764-7-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB