Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 02:04

General

  • Target

    2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe

  • Size

    12.4MB

  • MD5

    acf0ce65b64c5ab5852b6958b3db703a

  • SHA1

    73c23316ae3703ca16ec98f37cd01dc580ab8294

  • SHA256

    3497d7067998701c2bea7bf39fc56497adfe1a4e8a230b5be44692d86c9d127f

  • SHA512

    fbbf0d5e1619b2f00e129faaebb0e24962804c82f81bd998d329259a148b8779dba8ea8904e942b9ae253441b9fa0d07831985914bf838456476c00163900c8a

  • SSDEEP

    24576:ipomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt1:Goo

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-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\icnsjeif\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3028
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pcolerwg.exe" C:\Windows\SysWOW64\icnsjeif\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create icnsjeif binPath= "C:\Windows\SysWOW64\icnsjeif\pcolerwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description icnsjeif "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start icnsjeif
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3496
    • 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:4856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4832 -s 1124
      2⤵
      • Program crash
      PID:4540
  • C:\Windows\SysWOW64\icnsjeif\pcolerwg.exe
    C:\Windows\SysWOW64\icnsjeif\pcolerwg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2524
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2524 -s 512
      2⤵
      • Program crash
      PID:4024
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4832 -ip 4832
    1⤵
      PID:2364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2524 -ip 2524
      1⤵
        PID:548

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        7335a64581ddc835be9261bd98ffe878

        SHA1

        27b8ff9415cafb3426b0358f4ba5e85ac6072dc3

        SHA256

        d959b4eabb8865dba1b54531820a021d74cdf3f5f641ae73fa797e5c56a4ac37

        SHA512

        43bdf2b2da58a25b85cc3c1ce46ec7142662648747692eb8c9a6b8f027c8cf313c84252da9cc524c1052c30ae97150e3311f578b16759fa44691266276563144

      • memory/2524-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2524-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2524-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2524-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4016-14-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/4016-16-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

      • memory/4016-17-0x00000000001A0000-0x00000000001B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4832-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4832-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4832-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/4832-1-0x00000000006F0000-0x00000000007F0000-memory.dmp

        Filesize

        1024KB