Analysis

  • max time kernel
    149s
  • max time network
    136s
  • 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:08

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:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\icxtcgdx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vqumcnpn.exe" C:\Windows\SysWOW64\icxtcgdx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create icxtcgdx binPath= "C:\Windows\SysWOW64\icxtcgdx\vqumcnpn.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:2784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description icxtcgdx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4300
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start icxtcgdx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3532
    • 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:2948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2428 -s 1044
      2⤵
      • Program crash
      PID:2200
  • C:\Windows\SysWOW64\icxtcgdx\vqumcnpn.exe
    C:\Windows\SysWOW64\icxtcgdx\vqumcnpn.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:1928
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1732
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1928 -s 512
      2⤵
      • Program crash
      PID:216
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2428 -ip 2428
    1⤵
      PID:2092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 1928 -ip 1928
      1⤵
        PID:3040

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        3922515e5c8291f9d78551a7f63143df

        SHA1

        9f041d42fa858f20724586abbb8a77d004a72584

        SHA256

        03d8acde796a6d089a3614b8ff4a8ce20587b354e074b8ced7d6381c354f83cf

        SHA512

        79ab31bc35f78c10e4fd8e7682afbcf3edd57aa69f31d35ead0e1bbe52847d76edb9b271eba9980d363fb26c5ce7853bd311d30c0328d1dae7a79db1fcfb196f

      • memory/1732-14-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

      • memory/1732-17-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

      • memory/1732-16-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/2428-1-0x0000000000510000-0x0000000000610000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB