Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    20-11-2024 20:02

General

  • Target

    afac4eb9d79efcd0395d59351bdef0776b852ea337601cfbd9a79da3a1fad6b2.exe

  • Size

    11.7MB

  • MD5

    41e5a3e35502d37dbc0bf74651a2ec6c

  • SHA1

    f50ce2fc231fc554a1592af2ca6ac1a8c4918286

  • SHA256

    afac4eb9d79efcd0395d59351bdef0776b852ea337601cfbd9a79da3a1fad6b2

  • SHA512

    0ff1255b91beb2c252a436fdc095cacb5a19c674037457743406024174e841d7285c0aa5abcfd47c7bd21999f313e13343e3675d3ecdbb8f9d760775befd9db9

  • SSDEEP

    49152:Dyn7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7xd:DyB

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\afac4eb9d79efcd0395d59351bdef0776b852ea337601cfbd9a79da3a1fad6b2.exe
    "C:\Users\Admin\AppData\Local\Temp\afac4eb9d79efcd0395d59351bdef0776b852ea337601cfbd9a79da3a1fad6b2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2932
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\srqvnpir\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tgspivak.exe" C:\Windows\SysWOW64\srqvnpir\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create srqvnpir binPath= "C:\Windows\SysWOW64\srqvnpir\tgspivak.exe /d\"C:\Users\Admin\AppData\Local\Temp\afac4eb9d79efcd0395d59351bdef0776b852ea337601cfbd9a79da3a1fad6b2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description srqvnpir "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start srqvnpir
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4796
    • 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:3404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2932 -s 1220
      2⤵
      • Program crash
      PID:372
  • C:\Windows\SysWOW64\srqvnpir\tgspivak.exe
    C:\Windows\SysWOW64\srqvnpir\tgspivak.exe /d"C:\Users\Admin\AppData\Local\Temp\afac4eb9d79efcd0395d59351bdef0776b852ea337601cfbd9a79da3a1fad6b2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4764
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4764 -s 508
      2⤵
      • Program crash
      PID:4948
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2932 -ip 2932
    1⤵
      PID:5052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4764 -ip 4764
      1⤵
        PID:2056

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        3dc8d4577bf5c79f5ed69f2d970fe12d

        SHA1

        6e08cc8c90acbe96e8acea0cdb8b0d63c9f91b3c

        SHA256

        423c95fc1b5450ffb6350a21989a693f44f517d842b71f9e35ce9d9f8bc1019f

        SHA512

        9c2fee0094d13b394d6531559149e786a5fd1080dc51f152607403933a0e8376191df5f6ef4855dd6ba9afbaf424f9d4cd6a3a4239f267d25105216b4952dbd2

      • memory/772-13-0x00000000009B0000-0x00000000009C5000-memory.dmp

        Filesize

        84KB

      • memory/772-15-0x00000000009B0000-0x00000000009C5000-memory.dmp

        Filesize

        84KB

      • memory/772-16-0x00000000009B0000-0x00000000009C5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2932-10-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/2932-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2932-11-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2932-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

        Filesize

        1024KB

      • memory/4764-8-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4764-9-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4764-18-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB