Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-01-2025 11:12

General

  • Target

    2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe

  • Size

    14.9MB

  • MD5

    b6c4b7d510df5fadfb81ebb1348f930f

  • SHA1

    38db2673c1136571266d4c399205660bc13f5c9d

  • SHA256

    593365bbf1e3ac18c9b361d89c8d80471e90bc0606ccd0a02342b56b0129aee3

  • SHA512

    508ab1a9f384d77c9d80703e9966cc08e353ace669f84f72c74e49942a8bef94221f835d3ed04ebbf60930d68b3a8d7a4c523e1a44fd7bc391e86b15cadc703b

  • SSDEEP

    3072:sLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:JOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\prhktfh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jjkvqrpx.exe" C:\Windows\SysWOW64\prhktfh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create prhktfh binPath= "C:\Windows\SysWOW64\prhktfh\jjkvqrpx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description prhktfh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start prhktfh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2548
    • 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:4304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4016 -s 1180
      2⤵
      • Program crash
      PID:2324
  • C:\Windows\SysWOW64\prhktfh\jjkvqrpx.exe
    C:\Windows\SysWOW64\prhktfh\jjkvqrpx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_b6c4b7d510df5fadfb81ebb1348f930f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4228
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4228 -s 508
      2⤵
      • Program crash
      PID:3364
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4016 -ip 4016
    1⤵
      PID:3596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 4228 -ip 4228
      1⤵
        PID:1908

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        d8ae6c631fa8ba6a554cf978f4a74a9e

        SHA1

        701b3e1c77b37afff715b1a30a0043eba6551378

        SHA256

        ee8d6b231d7dbc56796328729181201560c94f3012f4287ff366d12089532f7e

        SHA512

        14a97ff67be77a4e54e8eb26b0727cae11a5305d6ee62d885f784ef3d11df33d034eb9eadd7344a326aed579865a003caf395cf1bc8c3eea2335b9b0209cd4be

      • memory/3656-14-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/3656-17-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/3656-16-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/4016-8-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4016-1-0x0000000000470000-0x0000000000570000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4016-2-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4228-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB