Analysis

  • max time kernel
    148s
  • 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
    30-12-2024 19:06

General

  • Target

    JaffaCakes118_59824f33b2473ed4cbd2f876dd08298598a2ae682ce600a524212b2a9397e52d.exe

  • Size

    327KB

  • MD5

    6f1d253c3614753b87aab018fa163871

  • SHA1

    903ffbf67398e8ded5dae30767f65bf6958126de

  • SHA256

    59824f33b2473ed4cbd2f876dd08298598a2ae682ce600a524212b2a9397e52d

  • SHA512

    a46e9e740799991c44d7d707c2770b4b7df756d8833a8a37fc83d6855383cec3e337cd485eee147f7c70ca88f0667f0f81a20cccb593f3e237d7805d2c682188

  • SSDEEP

    6144:taBO3imrOouSABnevchIagXe6l2uAzBlHMSWZFq:YG1OouSQqcqaoe6l+BtlW

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\JaffaCakes118_59824f33b2473ed4cbd2f876dd08298598a2ae682ce600a524212b2a9397e52d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_59824f33b2473ed4cbd2f876dd08298598a2ae682ce600a524212b2a9397e52d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nlqcmcrl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vazxntcr.exe" C:\Windows\SysWOW64\nlqcmcrl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nlqcmcrl binPath= "C:\Windows\SysWOW64\nlqcmcrl\vazxntcr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_59824f33b2473ed4cbd2f876dd08298598a2ae682ce600a524212b2a9397e52d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nlqcmcrl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nlqcmcrl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3732
    • 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:2712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1656 -s 1036
      2⤵
      • Program crash
      PID:940
  • C:\Windows\SysWOW64\nlqcmcrl\vazxntcr.exe
    C:\Windows\SysWOW64\nlqcmcrl\vazxntcr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_59824f33b2473ed4cbd2f876dd08298598a2ae682ce600a524212b2a9397e52d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3128
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3128 -s 516
      2⤵
      • Program crash
      PID:4968
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1656 -ip 1656
    1⤵
      PID:1652
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3128 -ip 3128
      1⤵
        PID:3424

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        232f2633be0fbda0f87e0970ac0de7f5

        SHA1

        7aa390cea526ab5a22e49bb93a0f289699340068

        SHA256

        cf20c8b5f3a5c4c5e4bc9200c1fecb044f8e52da14ec41d9c843ec949f2cd185

        SHA512

        9872390cf8677c632273dd1ac315d3e9cae585f87c1b0ff8dfbd54e903fd03bfbc6f815f0683c9d8563b1929d43371e9c0b54dad3ce8564caea24c2ce616d216

      • memory/1656-1-0x00000000026D0000-0x00000000027D0000-memory.dmp

        Filesize

        1024KB

      • memory/1656-2-0x0000000002530000-0x0000000002543000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1656-8-0x0000000002530000-0x0000000002543000-memory.dmp

        Filesize

        76KB

      • memory/1656-7-0x0000000000400000-0x00000000023A9000-memory.dmp

        Filesize

        31.7MB

      • memory/3128-15-0x0000000000400000-0x00000000023A9000-memory.dmp

        Filesize

        31.7MB

      • memory/3896-11-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

      • memory/3896-13-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB

      • memory/3896-14-0x0000000000670000-0x0000000000685000-memory.dmp

        Filesize

        84KB