Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-12-2024 20:03

General

  • Target

    2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe

  • Size

    14.8MB

  • MD5

    b82fd7f8c53a08352f6a9b9334e91beb

  • SHA1

    1706f756e43a88d305fa8ef491e5d71b8505c3cc

  • SHA256

    d7fe9f760dfce3b7a6b53e5159d3b7af53cf7c1041af9bbb9f1e335d9946d74e

  • SHA512

    3e0abd797ac7aaef9861a7ff397d1370956fafc51839bc98aaea524d4c9853d13e91119ee24ce2eb9b6a99d2b476defa1a0995bd655b3468a20aab713604002d

  • SSDEEP

    3072:wLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:NOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xnadccm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofbizycg.exe" C:\Windows\SysWOW64\xnadccm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xnadccm binPath= "C:\Windows\SysWOW64\xnadccm\ofbizycg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xnadccm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xnadccm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1628
    • 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:4824
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1184 -s 1036
      2⤵
      • Program crash
      PID:3708
  • C:\Windows\SysWOW64\xnadccm\ofbizycg.exe
    C:\Windows\SysWOW64\xnadccm\ofbizycg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-22_b82fd7f8c53a08352f6a9b9334e91beb_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4192
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4192 -s 508
      2⤵
      • Program crash
      PID:552
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1184 -ip 1184
    1⤵
      PID:4708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4192 -ip 4192
      1⤵
        PID:2912

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        6281f5a39c1d8c6b9ea09052b489b25c

        SHA1

        c0fa6f5c96b7af64797f67903bf73330450d5437

        SHA256

        ce6f198ade18423e7a2858cb487c955f02cb62459225e45310042a43ff65eee7

        SHA512

        49271ae5240a494d16a896537b6f63bcbae8c9ad26906da9ff459f17f8c2a86b303cbedf48922eca47227d97d34e8ae4502a033cc2631a4695bde443d5be1924

      • memory/1136-14-0x0000000000130000-0x0000000000145000-memory.dmp

        Filesize

        84KB

      • memory/1136-18-0x0000000000130000-0x0000000000145000-memory.dmp

        Filesize

        84KB

      • memory/1136-16-0x0000000000130000-0x0000000000145000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1184-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/1184-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1184-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB