Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-01-2025 18:56

General

  • Target

    2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe

  • Size

    13.3MB

  • MD5

    cc640048a903f18aef9ea0fdfb9b3920

  • SHA1

    cf2ffdbe0837aa34c6983027b7b2497d75a57d09

  • SHA256

    125121038f658715f0f002cd92bedf1bf318f8c211d64fa06d62e58d9c6d851e

  • SHA512

    e74d5fa348a8fa01a3a86e202e96aafcf65c51571e2be26ba011c2c3402b82dc18b54ec1a9524d2503c2a978d87e6bfa8f06f45a532e3de12d8656b4dfab5891

  • SSDEEP

    49152:9qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:9qtYc3

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.

  • Program crash 2 IoCs
  • 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-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jvkedvkz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4448
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ejtoiurt.exe" C:\Windows\SysWOW64\jvkedvkz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jvkedvkz binPath= "C:\Windows\SysWOW64\jvkedvkz\ejtoiurt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jvkedvkz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jvkedvkz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3488
    • 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:4616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1156 -s 1216
      2⤵
      • Program crash
      PID:4780
  • C:\Windows\SysWOW64\jvkedvkz\ejtoiurt.exe
    C:\Windows\SysWOW64\jvkedvkz\ejtoiurt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_cc640048a903f18aef9ea0fdfb9b3920_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4452
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4452 -s 528
      2⤵
      • Program crash
      PID:4696
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4452 -ip 4452
    1⤵
      PID:2988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 1156 -ip 1156
      1⤵
        PID:728

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        bef8220db4c64baa9faa2c97889a9b68

        SHA1

        c9a90875f6bff0b05e41bb5a2d91185b28c48d7c

        SHA256

        dd6d6d8873158b584304c312adb31d47c5b34c192d6e8c694bb5979501cc0b93

        SHA512

        dab759822b19fd35c0b916cb9281449b7234913fa32464fb1ddc94f6c3a40565028d82f194a35ce352628733a81bc541b3f0cf794f96b3fc9703a1961c29fcce

      • memory/1156-2-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/1156-1-0x00000000030E0000-0x00000000031E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/1156-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1156-12-0x0000000002EE0000-0x0000000002EF3000-memory.dmp

        Filesize

        76KB

      • memory/1156-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4452-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4772-8-0x0000000000480000-0x0000000000495000-memory.dmp

        Filesize

        84KB

      • memory/4772-14-0x0000000000480000-0x0000000000495000-memory.dmp

        Filesize

        84KB

      • memory/4772-15-0x0000000000480000-0x0000000000495000-memory.dmp

        Filesize

        84KB