Analysis

  • max time kernel
    144s
  • max time network
    143s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    15-01-2025 01:17

General

  • Target

    2025-01-15_ca8ee4733e7ba78b415231884f389a1b_mafia.exe

  • Size

    10.8MB

  • MD5

    ca8ee4733e7ba78b415231884f389a1b

  • SHA1

    74754a1e264173cfdf792bcb0c9457d10ff7e2a7

  • SHA256

    ac2dbc87f1ab034db4bf8ff17f8497df23f198c8fc76e397a05137cbd768cb87

  • SHA512

    b472b23c4564247fa06807a70c94b779646e3089754cb564d277e23681620e0115ce3cbd7a737648ebb40ee3f9a9f3985c5bd510d8077f18a8de4ea3a1e1edf8

  • SSDEEP

    49152:/LFuiE8888888888888888888888888888888888888888888888888888888883:/LM

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
  • 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\2025-01-15_ca8ee4733e7ba78b415231884f389a1b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_ca8ee4733e7ba78b415231884f389a1b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pedxzmso\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3968
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fncgtraa.exe" C:\Windows\SysWOW64\pedxzmso\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pedxzmso binPath= "C:\Windows\SysWOW64\pedxzmso\fncgtraa.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_ca8ee4733e7ba78b415231884f389a1b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pedxzmso "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pedxzmso
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3384
    • 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:4284
  • C:\Windows\SysWOW64\pedxzmso\fncgtraa.exe
    C:\Windows\SysWOW64\pedxzmso\fncgtraa.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_ca8ee4733e7ba78b415231884f389a1b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4436
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3548

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.0MB

    MD5

    e420639e928141fb52e3e7fadc0dbc29

    SHA1

    ea45e1fd71e302a70f2f84d6fde8d99527070e64

    SHA256

    a920480bd38fe3e88cdc91dce7e3b736e3416d5e3d0e62cf6bc82962f4e5271a

    SHA512

    d0d6389052dd39c1016acb39e49f5b7952dedabbfd3861a3ff29b9f007cd2b1c7dd608013d2f3f3dcd5e47294948d7f94795d0fe3b1669e54191b544202e4b63

  • memory/3548-11-0x0000000000150000-0x0000000000165000-memory.dmp

    Filesize

    84KB

  • memory/3548-13-0x0000000000150000-0x0000000000165000-memory.dmp

    Filesize

    84KB

  • memory/3548-15-0x0000000000150000-0x0000000000165000-memory.dmp

    Filesize

    84KB

  • memory/4436-14-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

  • memory/4660-1-0x0000000003000000-0x0000000003100000-memory.dmp

    Filesize

    1024KB

  • memory/4660-2-0x0000000002E00000-0x0000000002E13000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4660-8-0x0000000002E00000-0x0000000002E13000-memory.dmp

    Filesize

    76KB

  • memory/4660-7-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB