Analysis

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

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

General

  • Target

    bf287ab183c3ca2038a1a683c75aa0942a0dfdd760e184b25d506d7d48614d7a.exe

  • Size

    11.9MB

  • MD5

    94ddf26483c2d2314510988223e8a8f3

  • SHA1

    e1307d39c80be583ff7fbefd99bbc6c6f41ef44a

  • SHA256

    bf287ab183c3ca2038a1a683c75aa0942a0dfdd760e184b25d506d7d48614d7a

  • SHA512

    3167dee1764a4840b70fa30d51fdc4283cfe5c7c1a84c5560e2b0e59f2b349791b681369e9047733a51a76cd2e1a28a01c540e2c71ea54279b2f6bb9950473c7

  • SSDEEP

    49152:tkHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHV:K

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\bf287ab183c3ca2038a1a683c75aa0942a0dfdd760e184b25d506d7d48614d7a.exe
    "C:\Users\Admin\AppData\Local\Temp\bf287ab183c3ca2038a1a683c75aa0942a0dfdd760e184b25d506d7d48614d7a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wengndno\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lepfqngz.exe" C:\Windows\SysWOW64\wengndno\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wengndno binPath= "C:\Windows\SysWOW64\wengndno\lepfqngz.exe /d\"C:\Users\Admin\AppData\Local\Temp\bf287ab183c3ca2038a1a683c75aa0942a0dfdd760e184b25d506d7d48614d7a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wengndno "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wengndno
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • 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:1588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 628 -s 796
      2⤵
      • Program crash
      PID:3668
  • C:\Windows\SysWOW64\wengndno\lepfqngz.exe
    C:\Windows\SysWOW64\wengndno\lepfqngz.exe /d"C:\Users\Admin\AppData\Local\Temp\bf287ab183c3ca2038a1a683c75aa0942a0dfdd760e184b25d506d7d48614d7a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:956
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 956 -s 516
      2⤵
      • Program crash
      PID:3728
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 628 -ip 628
    1⤵
      PID:3996
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 956 -ip 956
      1⤵
        PID:1352

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        de1ac9c3c9f5cfc87e4cdc626add516d

        SHA1

        c0db11e76f98e5b6cfe4ddbb9a7a7cfd559ecbf8

        SHA256

        526d74d4de64a55924f1df95ea7aad32cbdcdf7e6da2a44d969937203ec2b79f

        SHA512

        c22b9f34eb7cb5a066977fb7d6a8c5fcaa80d22997f15c165cee4de29dbc73f95bc96cb2da565512abff7811f3a9dfee28ddfcf7d95b7e7e10cd1b269a2cfa46

      • memory/628-1-0x0000000000790000-0x0000000000890000-memory.dmp

        Filesize

        1024KB

      • memory/628-2-0x00000000024D0000-0x00000000024E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        3.5MB

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

        Filesize

        84KB

      • memory/628-9-0x00000000024D0000-0x00000000024E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        3.5MB

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

        Filesize

        3.5MB

      • memory/2508-12-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/2508-14-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/2508-15-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB