Analysis

  • max time kernel
    150s
  • max time network
    152s
  • 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:53

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:3916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vropgzp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\srdzeoyl.exe" C:\Windows\SysWOW64\vropgzp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vropgzp binPath= "C:\Windows\SysWOW64\vropgzp\srdzeoyl.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:3560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vropgzp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vropgzp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3480
    • 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:4568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3916 -s 1132
      2⤵
      • Program crash
      PID:3316
  • C:\Windows\SysWOW64\vropgzp\srdzeoyl.exe
    C:\Windows\SysWOW64\vropgzp\srdzeoyl.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:4888
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3260
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4888 -s 512
      2⤵
      • Program crash
      PID:4148
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3916 -ip 3916
    1⤵
      PID:1720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4888 -ip 4888
      1⤵
        PID:4340

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        336c5e179b3fdd23f8b87b5fc34741fb

        SHA1

        e61aef999ec4fbb6c221f228babe4a3d07accfda

        SHA256

        6ff6b6656d34fd5d228d1f1d16d1a8eb53fdc7c95bbcd17a6ae2e91ecd7756b3

        SHA512

        81a85c8a239af69b966ac50e7fb407ea838a1a002f39dfde93d5e0089629a8e94e87f2ee6831baa2ffc868e354975a014bed72fc6156cb6550c00066d93db4ce

      • memory/3260-14-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/3260-17-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/3260-16-0x0000000000600000-0x0000000000615000-memory.dmp

        Filesize

        84KB

      • memory/3916-8-0x00000000006C0000-0x00000000006D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3916-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        1.1MB

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

        Filesize

        84KB

      • memory/3916-2-0x00000000006C0000-0x00000000006D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        1.1MB