Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-11-2024 19:49

General

  • Target

    2024-11-03_3514d0875438dd5682cfe14dd6cd95ec_mafia.exe

  • Size

    10.4MB

  • MD5

    3514d0875438dd5682cfe14dd6cd95ec

  • SHA1

    b69b0f81ffb4d8684e770e80746249042cf7756f

  • SHA256

    7810708f33c355028fb29b32b57474d12daf826b803b471756cb6800f32b7436

  • SHA512

    0387238e6e8c713beb521bd5d58d724d0abfa59e6da4f63483759c0f1799fb362e5b002429d0fd7b201841b6c725c004c339e4086268031997d3c2388e92a762

  • SSDEEP

    49152:1Vdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGn:1Vdrl/9zG

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-11-03_3514d0875438dd5682cfe14dd6cd95ec_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-03_3514d0875438dd5682cfe14dd6cd95ec_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qrvklvfm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yxjfkuer.exe" C:\Windows\SysWOW64\qrvklvfm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qrvklvfm binPath= "C:\Windows\SysWOW64\qrvklvfm\yxjfkuer.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_3514d0875438dd5682cfe14dd6cd95ec_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qrvklvfm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qrvklvfm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3588
    • 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:3304
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4916 -s 772
      2⤵
      • Program crash
      PID:4576
  • C:\Windows\SysWOW64\qrvklvfm\yxjfkuer.exe
    C:\Windows\SysWOW64\qrvklvfm\yxjfkuer.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_3514d0875438dd5682cfe14dd6cd95ec_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1348
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1616
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1348 -s 512
      2⤵
      • Program crash
      PID:5040
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4916 -ip 4916
    1⤵
      PID:852
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1348 -ip 1348
      1⤵
        PID:1764

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        703cc14b27b09f63a85cb186965c4b7e

        SHA1

        f1d5efe2c8eb046c85f862fd5fca5bd12702b85b

        SHA256

        e0896ac6fd60e03739dfab098e7f5e9fce52a2a6fb4197a1a91ac41b2ea10140

        SHA512

        e69147f7cf487b16f71d3d870ab0fa3e237c28402dad6ab5552598bcf1aae8214edb489423b1e736d0c49f860d0b085f8b28361dd3875441a9df63524a9aaff9

      • memory/1348-11-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/1348-19-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/1348-12-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/1348-13-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/1616-16-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/1616-14-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/1616-17-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/4916-7-0x0000000000400000-0x0000000000518000-memory.dmp

        Filesize

        1.1MB

      • memory/4916-8-0x0000000002260000-0x0000000002273000-memory.dmp

        Filesize

        76KB

      • memory/4916-1-0x00000000008B0000-0x00000000009B0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4916-2-0x0000000002260000-0x0000000002273000-memory.dmp

        Filesize

        76KB