Analysis

  • max time kernel
    150s
  • max time network
    146s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240412-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240412-enlocale:en-usos:windows10-2004-x64system
  • submitted
    17-04-2024 13:41

General

  • Target

    f5e82122b54d4d41824619e647ac946d_JaffaCakes118.exe

  • Size

    14.2MB

  • MD5

    f5e82122b54d4d41824619e647ac946d

  • SHA1

    2e5246a6a5053243e05fb0ec57c53c5f5af4e139

  • SHA256

    de6664189711f6d55dd4337ae37167a3feaef197a2a5149d17da8a0a8335f584

  • SHA512

    59606a4b3babd11a4b927f0a0e470cdb42d2b784be7f75c8a3f9f23376972aa1b98c47ff2cf7c5c30216298e59ab9fcf9681f259bb39fa931fa9c87cf0cade30

  • SSDEEP

    98304:3RoooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooY:

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.

  • Creates new service(s) 1 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).

  • Program crash 2 IoCs
  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\f5e82122b54d4d41824619e647ac946d_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\f5e82122b54d4d41824619e647ac946d_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qwqdzolp\
      2⤵
        PID:116
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\byjomwtq.exe" C:\Windows\SysWOW64\qwqdzolp\
        2⤵
          PID:4596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qwqdzolp binPath= "C:\Windows\SysWOW64\qwqdzolp\byjomwtq.exe /d\"C:\Users\Admin\AppData\Local\Temp\f5e82122b54d4d41824619e647ac946d_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2376
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qwqdzolp "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3624
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qwqdzolp
          2⤵
          • Launches sc.exe
          PID:2928
        • 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
          PID:2192
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3988 -s 664
          2⤵
          • Program crash
          PID:4068
      • C:\Windows\SysWOW64\qwqdzolp\byjomwtq.exe
        C:\Windows\SysWOW64\qwqdzolp\byjomwtq.exe /d"C:\Users\Admin\AppData\Local\Temp\f5e82122b54d4d41824619e647ac946d_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1408
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:744
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1408 -s 524
          2⤵
          • Program crash
          PID:1812
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3988 -ip 3988
        1⤵
          PID:4340
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1408 -ip 1408
          1⤵
            PID:4460

          Network

          MITRE ATT&CK Enterprise v15

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.4MB

            MD5

            ad453fea31820d628a60021145abe3ba

            SHA1

            40e8a4e6c2f974b1a3a94d7085ff265f50a7e23e

            SHA256

            cf6d11e8986f949668728148e16e78ada7bca031b913ce97f074e647bc305246

            SHA512

            68245d7e6bf216a5550261512bb1064f7f9a9298dca76e1427c3a8f7405376e0d56fc32a78e925a171ec934b2871d6fe75c5915ea3ab4771512bab9aae20eaf4

          • memory/744-16-0x00000000008D0000-0x00000000008E5000-memory.dmp

            Filesize

            84KB

          • memory/744-11-0x00000000008D0000-0x00000000008E5000-memory.dmp

            Filesize

            84KB

          • memory/744-18-0x00000000008D0000-0x00000000008E5000-memory.dmp

            Filesize

            84KB

          • memory/744-19-0x00000000008D0000-0x00000000008E5000-memory.dmp

            Filesize

            84KB

          • memory/1408-10-0x00000000006B0000-0x00000000007B0000-memory.dmp

            Filesize

            1024KB

          • memory/1408-12-0x0000000000400000-0x00000000004AC000-memory.dmp

            Filesize

            688KB

          • memory/1408-17-0x0000000000400000-0x00000000004AC000-memory.dmp

            Filesize

            688KB

          • memory/3988-4-0x0000000000400000-0x00000000004AC000-memory.dmp

            Filesize

            688KB

          • memory/3988-1-0x00000000007A0000-0x00000000008A0000-memory.dmp

            Filesize

            1024KB

          • memory/3988-8-0x0000000000400000-0x00000000004AC000-memory.dmp

            Filesize

            688KB

          • memory/3988-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

            Filesize

            76KB

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

            Filesize

            76KB