Analysis

  • max time kernel
    147s
  • max time network
    156s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-06-2024 15:34

General

  • Target

    8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe

  • Size

    142KB

  • MD5

    8ae987e80e12b61362f37b47ea603a71

  • SHA1

    29a2d26bf4d8a74d4ded2bba39af14e2af83016e

  • SHA256

    2892fcb514031795be8f62a7c309a5fe80279066517fd8bd219f2e0f31fb4042

  • SHA512

    d47df314643d82af87feb43f79ae5fef1ad61aa449755d0d73abee307bdc93fbcb53529c7fe8039e7bfb051d8041b084b3efd00d868377881b6c46b86c0f6ef7

  • SSDEEP

    3072:i9Tpm/Wn6280tMkFG6ASkHDmdxPvrknn3ost0rpNU99f:9eJLHkjmbwn3ojNg

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.

  • 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).

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xrqcvzft\
      2⤵
        PID:496
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cttmwugu.exe" C:\Windows\SysWOW64\xrqcvzft\
        2⤵
          PID:1748
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create xrqcvzft binPath= "C:\Windows\SysWOW64\xrqcvzft\cttmwugu.exe /d\"C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2324
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description xrqcvzft "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:5008
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start xrqcvzft
          2⤵
          • Launches sc.exe
          PID:3092
        • 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:3256
      • C:\Windows\SysWOW64\xrqcvzft\cttmwugu.exe
        C:\Windows\SysWOW64\xrqcvzft\cttmwugu.exe /d"C:\Users\Admin\AppData\Local\Temp\8ae987e80e12b61362f37b47ea603a71_JaffaCakes118.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4080
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:4668
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=4064 --field-trial-handle=2356,i,13261194862334667799,7441241219475888176,262144 --variations-seed-version /prefetch:8
        1⤵
          PID:4404

        Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          12.8MB

          MD5

          0d07efb96ca4b90cff46af914f774651

          SHA1

          c2632ef9d0ac6c0bf316bdd1c254fee2defce83d

          SHA256

          6bb14f56163f9d7618556cd2011584f228a3e07fb8bde0dd3a0a2187a2fade80

          SHA512

          6d57167e966a17cd2a143ab3b3da38ffc96a57af1797396f3aa21b9e6f29d0648ede1e0983ca3b47bb106eff71e6744e1fc9e0bfc9842a4e4fa187e94b9e3dc8

        • memory/844-0-0x0000000000590000-0x0000000000591000-memory.dmp

          Filesize

          4KB

        • memory/844-1-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/844-2-0x00000000005A0000-0x00000000005A1000-memory.dmp

          Filesize

          4KB

        • memory/844-5-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/844-6-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/4080-8-0x0000000000690000-0x0000000000691000-memory.dmp

          Filesize

          4KB

        • memory/4080-9-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/4080-11-0x0000000000400000-0x0000000000426000-memory.dmp

          Filesize

          152KB

        • memory/4668-10-0x0000000000130000-0x0000000000145000-memory.dmp

          Filesize

          84KB

        • memory/4668-13-0x0000000000130000-0x0000000000145000-memory.dmp

          Filesize

          84KB

        • memory/4668-14-0x0000000000130000-0x0000000000145000-memory.dmp

          Filesize

          84KB