Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-12-2024 17:53

General

  • Target

    2024-12-01_8f03907ba4f5beb91afca249985588b5_karagany_mafia.exe

  • Size

    14.5MB

  • MD5

    8f03907ba4f5beb91afca249985588b5

  • SHA1

    285442119288693a48d49fac770b5fd1463bf9b0

  • SHA256

    a36378ea861fc985ea84824587384cd4da4c8c3bfa348ef21675c6062558198e

  • SHA512

    6cd27e000c15464c3d0b34ba8f0f3277dd7e9dc0840e95a4c55e5853f243b2cb40e2f19a8efe248b4a7923282a09a6dab8338c695a350786e3f7792d1fcf1b4a

  • SSDEEP

    6144:byXxZTquqxpXAdbbiFyKq3nUOcWfMMMMMMMbt:byXzN8pXAdbbyyZtZfMMMMMMMb

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
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Executes dropped EXE 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 1 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 7 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 18 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-12-01_8f03907ba4f5beb91afca249985588b5_karagany_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-01_8f03907ba4f5beb91afca249985588b5_karagany_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2584
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nelspkjg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3708
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tpjpvxpg.exe" C:\Windows\SysWOW64\nelspkjg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nelspkjg binPath= "C:\Windows\SysWOW64\nelspkjg\tpjpvxpg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-01_8f03907ba4f5beb91afca249985588b5_karagany_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nelspkjg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nelspkjg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5116
    • 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:4428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2584 -s 668
      2⤵
      • Program crash
      PID:3384
  • C:\Windows\SysWOW64\nelspkjg\tpjpvxpg.exe
    C:\Windows\SysWOW64\nelspkjg\tpjpvxpg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-01_8f03907ba4f5beb91afca249985588b5_karagany_mafia.exe"
    1⤵
    • Executes dropped EXE
    PID:548
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2584 -ip 2584
    1⤵
      PID:4848

    Network

    MITRE ATT&CK Enterprise v15

    Replay Monitor

    Loading Replay Monitor...

    Downloads

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

      Filesize

      14.6MB

      MD5

      1cc71834a4646e009d1b6c42d0498c31

      SHA1

      5f233e41965a75dd74d2bd99b3d51f62235e32c2

      SHA256

      1daaa78eeba938305bf3de87711f825d9f26dce1a7b450b8008d5e0f44429319

      SHA512

      4f0e1b31d44101c2291090be5a78be9cd47a039b362cd2a59f7a7c280e24143af4c968952f1a1bd746c97c8d9f979c5d24e91338bb892249e1db0c79ec71700a

    • memory/2584-1-0x0000000000770000-0x0000000000870000-memory.dmp

      Filesize

      1024KB

    • memory/2584-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

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

      Filesize

      84KB

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

      Filesize

      84KB

    • memory/2584-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

      Filesize

      76KB

    • memory/2584-7-0x0000000000400000-0x0000000000481000-memory.dmp

      Filesize

      516KB