Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    22-11-2024 07:05

General

  • Target

    03a239c50ad79fc193158e7b7750bc9c950ff2efa27003f80c54993a4605c1b0.exe

  • Size

    12.9MB

  • MD5

    8556b989b136705da62e8181b8e1b066

  • SHA1

    8ab93dd9d5bd43efb00c8d027f08ecd5d1adf96b

  • SHA256

    03a239c50ad79fc193158e7b7750bc9c950ff2efa27003f80c54993a4605c1b0

  • SHA512

    e45b2343243e9a73f6edbdd75ace557bd33b887adc29408378d606246227f6b4ed5d006b14b8a37c62a165bdccafa46271a86aa1cb138573066553dda5159cf7

  • SSDEEP

    49152:ukHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHP:N

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\03a239c50ad79fc193158e7b7750bc9c950ff2efa27003f80c54993a4605c1b0.exe
    "C:\Users\Admin\AppData\Local\Temp\03a239c50ad79fc193158e7b7750bc9c950ff2efa27003f80c54993a4605c1b0.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\unbpjabh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1468
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nscsgl.exe" C:\Windows\SysWOW64\unbpjabh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create unbpjabh binPath= "C:\Windows\SysWOW64\unbpjabh\nscsgl.exe /d\"C:\Users\Admin\AppData\Local\Temp\03a239c50ad79fc193158e7b7750bc9c950ff2efa27003f80c54993a4605c1b0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description unbpjabh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start unbpjabh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1608
    • 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:2392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5004 -s 796
      2⤵
      • Program crash
      PID:1624
  • C:\Windows\SysWOW64\unbpjabh\nscsgl.exe
    C:\Windows\SysWOW64\unbpjabh\nscsgl.exe /d"C:\Users\Admin\AppData\Local\Temp\03a239c50ad79fc193158e7b7750bc9c950ff2efa27003f80c54993a4605c1b0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3736
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4224
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3736 -s 516
      2⤵
      • Program crash
      PID:4516
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 5004 -ip 5004
    1⤵
      PID:3300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3736 -ip 3736
      1⤵
        PID:4636

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        eb7b2183d0fb0f37b06d2a30eb8e3d02

        SHA1

        a7ae090a6f203b254ec92b8daa6110f9dac0ab85

        SHA256

        9b67b008d699438ba43f947717bb75029d20c8bb86b5b0eead44cabf6717807f

        SHA512

        a6bf3961ef907143adecb5cba4d3dc1f9c07bfc869745ee517a2d01d76ad7513fe3850a78cec0ecf6955692f78008e5bd93c0081e546548903f1676acbf1805c

      • memory/3736-11-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/3736-17-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/4224-12-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/4224-14-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/4224-15-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/5004-1-0x0000000000A70000-0x0000000000B70000-memory.dmp

        Filesize

        1024KB

      • memory/5004-2-0x0000000000A40000-0x0000000000A53000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/5004-8-0x0000000000400000-0x0000000000785000-memory.dmp

        Filesize

        3.5MB

      • memory/5004-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/5004-9-0x0000000000A40000-0x0000000000A53000-memory.dmp

        Filesize

        76KB