{"id":100567,"date":"2019-10-29T23:32:13","date_gmt":"2019-10-30T06:32:13","guid":{"rendered":"https:\/\/unit42.paloaltonetworks.com\/?p=100567\/"},"modified":"2025-08-25T04:31:18","modified_gmt":"2025-08-25T11:31:18","slug":"practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3","status":"publish","type":"post","link":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/","title":{"rendered":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)"},"content":{"rendered":"<h2>\u6982\u8981<\/h2>\n<p>3\u90e8\u69cb\u6210\u3068\u306a\u308b\u672c\u30b7\u30ea\u30fc\u30ba\u3067\u306f\u3001PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306b\u5bfe\u3059\u308b\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u3001\u3053\u306e\u9759\u7684\u5206\u6790\u5b9f\u884c\u306e\u305f\u3081\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u975e\u4f9d\u5b58\u578bPython\u30b9\u30af\u30ea\u30d7\u30c8\u958b\u767a\u306b\u7126\u70b9\u3092\u5f53\u3066\u3066\u3044\u307e\u3059\u3002\u672c\u7a3f\u306f\u7b2c3\u56de\u3067\u3059\u3002\u7b2c1\u56de\u306f<a href=\"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-2\/\">\u3053\u3061\u3089<\/a>\u3067\u3001\u7b2c2\u56de\u306f<a href=\"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-2\/\">\u3053\u3061\u3089<\/a>\u3067\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30b7\u30ea\u30fc\u30ba\u6700\u5f8c\u3068\u306a\u308b\u672c\u7a3f\u3067\u306f\u3001\u30b5\u30f3\u30d7\u30eb\u306b\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3001\u51fa\u529b\u3055\u308c\u305f\u5185\u5bb9\u3092\u89e3\u91c8\u3059\u308b\u65b9\u6cd5\u3092\u8aac\u660e\u3057\u307e\u3059\u3002\u307e\u305f\u3001\u4eca\u56de\u9759\u7684\u5206\u6790\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f5c\u6210\u3057\u3066\u5f97\u3089\u308c\u305f\u5168\u822c\u7684\u306a\u77e5\u898b\u306b\u3064\u3044\u3066\u89e3\u8aac\u3057\u3001\u7686\u3055\u3093\u306e\u7d44\u7e54\u3067\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u3069\u3093\u306a\u3075\u3046\u306b\u6d3b\u7528\u3067\u304d\u305d\u3046\u304b\u306b\u3064\u3044\u3066\u8003\u5bdf\u3057\u3001\u6700\u5f8c\u306b\u672c\u30b7\u30ea\u30fc\u30ba\u3092\u901a\u3057\u3066\u3053\u308c\u307e\u3067\u8aac\u660e\u3057\u3066\u304d\u305fPowerShellProfiler.py\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u63d0\u4f9b\u3057\u3066\u5185\u5bb9\u3092\u307e\u3068\u3081\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h2>\u306f\u3058\u3081\u306b<\/h2>\n<p>\u30c6\u30b9\u30c8\u3067\u306f\u3001\u624b\u3067\u5206\u985e\u3057\u305f\u7d045,000\u500b\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u30b5\u30f3\u30d7\u30eb\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u3057\u307e\u3057\u305f\u3002\u305d\u306e\u5185\u8a33\u306f\u3001\u7d043,000\u500b\u306e\u826f\u6027\u30b9\u30af\u30ea\u30d7\u30c8\u30682,000\u500b\u306e\u60aa\u610f\u306e\u3042\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u3059\u3002\u7b46\u8005\u306f\u6b21\u306b\u3001\u3053\u308c\u3089\u306b\u542b\u307e\u308c\u308b\u632f\u308b\u821e\u3044\u3092\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u306b\u5206\u985e\u3057\u3066\u3044\u304d\u307e\u3057\u305f\u3002\u305d\u306e\u3055\u3044\u3001\u632f\u308b\u821e\u3044\u306e\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u3092\u3059\u308b\u4e0a\u3067\u306e\u8abf\u6574\u5f79\u3068\u306a\u308a\u3046\u308b\u3088\u3046\u306a\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u7279\u5fb4\u305d\u306e\u4ed6\u306e\u6a5f\u80fd\u306b\u3064\u3044\u3066\u3082\u7279\u5b9a\u3057\u3066\u3044\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u307e\u305a\u306f\u3053\u306e\u65b9\u6cd5\u3067\u30d9\u30fc\u30b9\u30e9\u30a4\u30f3\u3092\u78ba\u7acb\u3059\u308b\u3053\u3068\u3067\u3001\u591a\u7528\u3055\u308c\u308b\u624b\u6cd5\u3084\u7d50\u679c\u306e\u51fa\u3084\u3059\u3044\u624b\u6cd5\u306b\u6163\u308c\u89aa\u3057\u307f\u3064\u3064\u3001\u305d\u3053\u304b\u3089\u5f97\u3089\u308c\u305f\u7d50\u679c\u3092\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u843d\u3068\u3057\u8fbc\u307f\u307e\u3057\u305f\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u6b8b\u308a\u306e\u5206\u6790\u6642\u9593\u306e\u5927\u534a\u3092\u3001\u76ee\u6a19\u5024\u3067\u3042\u308b\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u3057\u304d\u3044\u50246.0\u3092\u4e0b\u56de\u3063\u305f\u60aa\u610f\u306e\u3042\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u30b5\u30f3\u30d7\u30eb\u306e\u5206\u6790\u306b\u3042\u3066\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u305d\u3046\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u304b\u3089\u306f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306e\u30d7\u30ed\u30bb\u30b9\u3092\u3055\u3089\u306b\u5f37\u5316\u3067\u304d\u305d\u3046\u306a\u30dd\u30a4\u30f3\u30c8\u3092\u898b\u3064\u3051\u51fa\u3057\u3066\u3044\u304f\u3088\u3046\u52aa\u3081\u307e\u3057\u305f\u3002<\/p>\n<h4>PowerShellProfiler.py\u306e\u4f7f\u3044\u304b\u305f<\/h4>\n<p>\u672c\u7a3f\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001<a href=\"https:\/\/github.com\/pan-unit42\/public_tools\/blob\/master\/powershellprofiler\/\">Unit42 GitHub<\/a>\u304b\u3089\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u4e2d\u306bPowerShellProfiler.py\u3068\u3044\u3046\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u4f7f\u3044\u304b\u305f\u306f\u3001\u5165\u529b\u7528\u30d5\u30a1\u30a4\u30eb\u3092 -f \u30d5\u30e9\u30b0\u306b\u7d9a\u3051\u3066\u6307\u5b9a\u3059\u308b\u3060\u3051\u3067\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u751f\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">$ python PowerShellProfiler.py -f 1\r\nb987ba4983d98a4c2776c8afb5aebbe418cdea1a7d4960c548fb947d404e4b2\r\n.MLWR\r\n\r\n1b987ba4983d98a4c2776c8afb5aebbe418cdea1a7d4960c548fb947d404e4b2\r\n.MLWR , 18.5 , Elevated Risk , 0:00:00.028457 , [Downloader - \r\n1.5 | Starts Process - 1.5 | Script Execution - 1.5 | \r\nCompression - 1.5 | Enumeration - 0.5 | One Liner - 2.0 | Known \r\nMalware: Veil Stream - 10.0]<\/pre>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u51fa\u529b\u7d50\u679c\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u69cb\u9020\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">File Name , Score , Proposed Risk Rating , Analysis Time , \r\nBehaviors \r\n(\u30d5\u30a1\u30a4\u30eb\u540d , \u30b9\u30b3\u30a2 , \u63d0\u6848\u3055\u308c\u305f\u30ea\u30b9\u30af\u8a55\u4fa1 , \u5206\u6790\u306b\u304b\u304b\u3063\u305f\u6642\u9593 , \r\n\u632f\u308b\u821e\u3044)<\/pre>\n<p>\u307b\u3068\u3093\u3069\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306e\u5185\u5bb9\u306f\u3001\u540d\u524d\u304b\u3089\u81ea\u660e\u304b\u3068\u601d\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u3055\u3063\u3068\u78ba\u8a8d\u3067\u304d\u308b\u3088\u3046\u3001\u51fa\u529b\u7d50\u679c\u306f\u6975\u529b\u30b7\u30f3\u30d7\u30eb\u306b\u3057\u3066\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u300cProposed Risk Rating (\u63d0\u6848\u3055\u308c\u305f\u30ea\u30b9\u30af\u8a55\u4fa1)\u300d\u306e\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u3053\u306e\u30b7\u30ea\u30fc\u30ba\u306e\u7b2c1\u56de\u76ee\u3067\u8aac\u660e\u3057\u305f\u30ea\u30b9\u30af\u968e\u8abf\u30b9\u30b1\u30fc\u30eb\u304b\u3089\u5c0e\u51fa\u3055\u308c\u305f\u3082\u306e\u3067\u3001\u3053\u308c\u306b\u306f\u30a2\u30ca\u30ea\u30b9\u30c8\u304c\u3071\u3063\u3068\u898b\u3066\u30ea\u30b9\u30af\u304c\u4f55\u3067\u3042\u308b\u304b\u304c\u5206\u304b\u308b\u3088\u3046\u306b\u3059\u308b\u30ac\u30a4\u30c9\u3068\u3057\u3066\u306e\u5f79\u5272\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u300cScore (\u30b9\u30b3\u30a2)\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306f\u3001\u51fa\u529b\u306e\u6700\u5f8c\u306b\u3042\u308b\u300cBehaviors (\u632f\u308b\u821e\u3044)\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u306b\u8868\u793a\u3055\u308c\u305f\u30b9\u30b3\u30a2 (\u6b63\u3068\u8ca0)\u3092\u96c6\u8a08\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u3053\u306e\u4f8b\u3067\u3082\u898b\u3089\u308c\u308b\u3088\u3046\u306b\u3001\u96e3\u8aad\u5316\u306e\u7a2e\u985e\u3084\u65e2\u77e5\u306e\u30de\u30eb\u30a6\u30a7\u30a2\u30d5\u30a1\u30df\u30ea\u306a\u3069\u3001\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u304c\u8ffd\u52a0\u3067\u63d0\u4f9b\u3055\u308c\u308b\u632f\u308b\u821e\u3044\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u30c7\u30d0\u30c3\u30b0\u30d5\u30e9\u30b0(-d)\u3092\u4f7f\u3046\u3068\u3001\u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u3092\u51fa\u529b\u3067\u304d\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u30d5\u30e9\u30b0\u306f\u3001\u5206\u6790\u5bfe\u8c61\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3069\u306e\u3088\u3046\u306b\u5909\u66f4\u3055\u308c\u305f\u304b\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3001\u5fa9\u5143\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u78ba\u8a8d\u3057\u305f\u308a\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002\u30c7\u30d0\u30c3\u30b0\u60c5\u5831\u306f\u3001\u5358\u7d14\u306b\u6b63\u898f\u5316\u3068\u96e3\u8aad\u5316\u306e\u89e3\u9664\u5f8c\u306b\u691c\u51fa\u3055\u308c\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u3059\u3079\u3066\u51fa\u529b\u3057\u3066\u3044\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u89e3\u660e\u306e\u5fc5\u8981\u306a\u65b0\u305f\u306a\u30b3\u30fc\u30c9\u96a0\u307a\u3044\u30c6\u30af\u30cb\u30c3\u30af\u3092\u63a2\u3059\u305f\u3081\u306b\u3069\u3053\u3092\u898b\u308b\u3079\u304d\u304b\u3001\u305d\u306e\u30a2\u30bf\u30ea\u3092\u3064\u3051\u308b\u306e\u306b\u4f7f\u3046\u3068\u3088\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n<h4>\u96e3\u8aad\u5316\u30921\u30b9\u30c6\u30c3\u30d7\u305a\u3064\u8aad\u307f\u89e3\u304f<\/h4>\n<p>\u3055\u3066\u3001\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u306f\u4f55\u3092\u5b9f\u884c\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u3067\u3057\u3087\u3046\u304b\u3002\u4e0a\u8a18\u306e\u300c1b987ba4983d98a4c2776c8afb5aebbe418cdea1a7d4960c548fb947d404e4b2\u300d\u3068\u3044\u3046SHA256\u30cf\u30c3\u30b7\u30e5\u5024\u3092\u6301\u3064\u30d5\u30a1\u30a4\u30eb\u306e\u5143\u30b3\u30f3\u30c6\u30f3\u30c4\u304b\u3089\u306f\u3001\u4f55\u3082\u51e6\u7406\u3057\u306a\u304f\u3066\u3082\u30012\u3064\u306e\u632f\u308b\u821e\u3044\u304c\u5b58\u5728\u3059\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002Base64\u6587\u5b57\u5217\u3092deflate\u3057\u305f\u5f8c\u3067\u5b9f\u884c\u3059\u308b\u306e\u306b\u4f7f\u3046Stream\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u95a2\u9023\u306e.NET\u30e1\u30bd\u30c3\u30c9\u304c\u8907\u6570\u3042\u308a\u307e\u3059\u3002\"Convert\"\u3001\"FromBase64String\"\u3001\"Text.Encoding\"\u306a\u3069\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u3001\u300cCompression (\u5727\u7e2e)\u300d\u306e\u632f\u308b\u821e\u3044\u30d5\u30e9\u30b0\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u3001\"Invoke-Expression\"\u3068\u3044\u3046\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u300cScript Execution (\u30b9\u30af\u30ea\u30d7\u30c8\u5b9f\u884c)\u300d\u306e\u632f\u308b\u821e\u3044\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_100506\" aria-describedby=\"caption-attachment-100506\" style=\"width: 1231px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script.png\" rel=\"wpdevart_lightbox\"><img  class=\"wp-image-100506 size-full lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script.png\" alt=\"\u56f39 \u5143\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8\" width=\"1231\" height=\"262\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script.png 1231w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script-300x64.png 300w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script-768x163.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script-1024x218.png 1024w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script-900x192.png 900w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-9.-Original-PowerShell-script-370x79.png 370w\" sizes=\"(max-width: 1231px) 100vw, 1231px\" \/><\/a><figcaption id=\"caption-attachment-100506\" class=\"wp-caption-text\">\u56f39 \u5143\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8<\/figcaption><\/figure>\n<p>\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092deflate\u5f8c\u3001\u51e6\u7406\u3092\u30eb\u30fc\u30d7\u3057\u3066\u8ffd\u52a0\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u6b63\u898f\u5316\u3057\u3001\u96e3\u8aad\u5316\u3092\u89e3\u9664\u3057\u3001\u8ffd\u52a0\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u51fa\u3055\u305b\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_100510\" aria-describedby=\"caption-attachment-100510\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-1024x402.png\" rel=\"wpdevart_lightbox\"><img  class=\"wp-image-100510 size-large lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-1024x402.png\" alt=\"\u56f310 \u5c55\u958b\u3055\u308c\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\" width=\"1024\" height=\"402\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-1024x402.png 1024w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-300x118.png 300w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-768x302.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-900x354.png 900w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content-370x145.png 370w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-10.-Decompressed-script-content.png 1224w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-100510\" class=\"wp-caption-text\">\u56f310 \u5c55\u958b\u3055\u308c\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4<\/figcaption><\/figure>\n<p>\u3053\u306e\u4f8b\u3067\u306f\u3001\u6587\u5b57\u5217\u3092\u96a0\u307a\u3044\u3059\u308b\u305f\u3081\u306b\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6f14\u7b97\u5b50\u7f6e\u63db\u306e\u96e3\u8aad\u5316\u624b\u6cd5\u304c\u591a\u7528\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\u3002\u3055\u3089\u306b\u51e6\u7406\u306e\u306a\u304b\u3067\u6587\u5b57\u5217\u7f6e\u63db\u7528\u306e\u95a2\u6570\u3092\u591a\u6570\u5b9f\u884c\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u884c\u7d42\u4e86\u6642\u306e\u7d50\u679c\u3092\u4ee5\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_100513\" aria-describedby=\"caption-attachment-100513\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-1024x296.png\" rel=\"wpdevart_lightbox\"><img  class=\"wp-image-100513 size-large lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-1024x296.png\" alt=\"\u56f311 \u96e3\u8aad\u5316\u89e3\u9664\u5f8c\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8\" width=\"1024\" height=\"296\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-1024x296.png 1024w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-300x87.png 300w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-768x222.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-900x260.png 900w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed-370x107.png 370w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-11.-PowerShell-script-with-obfuscation-removed.png 1187w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-100513\" class=\"wp-caption-text\">\u56f311 \u96e3\u8aad\u5316\u89e3\u9664\u5f8c\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8<\/figcaption><\/figure>\n<p>\u3053\u3053\u307e\u3067\u304f\u308b\u3068\u6b8b\u3063\u305f\u632f\u308b\u821e\u3044\u3092\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002\u30ad\u30fc\u30ef\u30fc\u30c9\"downloadstring\"\u306f\u300cDownloader (\u30c0\u30a6\u30f3\u30ed\u30fc\u30c0)\u300d\u306e\u632f\u308b\u821e\u3044\u3001\"Start-Process\"\u306f\u300cStarts Process (\u30d7\u30ed\u30bb\u30b9\u958b\u59cb)\u300d\u306e\u632f\u308b\u821e\u3044\u3001\u6700\u5f8c\u306e\"$env:username\"\u306f\u300cEnumeration (\u5217\u6319)\u300d\u306e\u632f\u308b\u821e\u3044\u3092\u30c8\u30ea\u30ac\u30fc\u3057\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306e2\u3064\u306e\u632f\u308b\u821e\u3044\u306f\u3001\u7279\u5b9a\u30ad\u30fc\u30ef\u30fc\u30c9\u306e\u7d44\u307f\u5408\u308f\u305b\u3067\u306f\u306a\u304f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u69cb\u9020\u306b\u3088\u308a\u91cd\u70b9\u3092\u7f6e\u3044\u305f\u3082\u306e\u3067\u3059\u3002\u30e1\u30bf\u7684\u306a\u632f\u308b\u821e\u3044\u3067\u3042\u308b\u300cOne Liner (\u30ef\u30f3\u30e9\u30a4\u30ca\u30fc)\u300d\u306e\u5834\u5408\u3001\u5143\u306e\u30d5\u30a1\u30a4\u30eb\u304c1\u884c\u306b\u53ce\u307e\u3063\u3066\u3044\u308b\u3053\u3068\u304b\u3089\u30d5\u30e9\u30b0\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u306b\u5bfe\u3057\u3001\u300cKnown Malware: Veil Stream (\u65e2\u77e5\u306e\u30de\u30eb\u30a6\u30a7\u30a2: Veil Stream)\u300d\u3068\u3044\u3046\u632f\u308b\u821e\u3044\u306f\u3001\u5143\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u3042\u308b\u6b21\u306e2\u884c\u306b\u57fa\u3065\u3044\u3066\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">Invoke-Expression $(New-Object IO.StreamReader ($(New-Object \r\nIO.Compression.DeflateStream<\/pre>\n<pre class=\"lang:default decode:true\">)))), [IO.Compression.CompressionMode]::Decompress)), \r\n[Text.Encoding]::ASCII)).ReadToEnd();<\/pre>\n<p>\u3053\u308c\u3089\u306f\u4ee5\u524d\u306e\u8abf\u67fb\u3067\u7279\u5b9a\u3057\u305f<a href=\"https:\/\/github.com\/Veil-Framework\/Veil\/blob\/master\/tools\/evasion\/payloads\/powershell\/shellcode_inject\/virtual.py#L114\">GitHub\u4e0a\u306eVeil Framework<\/a>\u304cPowerShell\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u751f\u6210\u3059\u308b\u3055\u3044\u306b\u898b\u3089\u308c\u308b\u5185\u5bb9\u3067\u3059\u3002<\/p>\n<pre class=\"lang:default decode:true\">payload_code += \"powershell.exe -NoP -NonI -W Hidden -Command \r\n\\\"Invoke-Expression $(New-Object IO.StreamReader ($(New-Object \r\nIO.Compression.DeflateStream ($(New-Object IO.MemoryStream \r\n(,$([Convert]::FromBase64String(\\\\\\\"%s\\\\\\\")))), \r\n[IO.Compression.CompressionMode]::Decompress)), \r\n[Text.Encoding]::ASCII)).ReadToEnd();\\\"\" % (encoded)<\/pre>\n<p>\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30b9\u30b3\u30a2\u306f6.0\u3068\u3044\u3046\u76ee\u6a19\u3057\u304d\u3044\u5024\u3092\u306f\u308b\u304b\u306b\u8d85\u3048\u3066\u3044\u308b\u306e\u3067\u3001\u300c\u60aa\u610f\u306e\u3042\u308b\u53ef\u80fd\u6027\u304c\u9ad8\u3044\u300d\u3068\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4>\u9759\u7684\u5206\u6790\u5168\u822c\u306b\u95a2\u3059\u308b\u8003\u5bdf<\/h4>\n<p>\u3067\u306f\u3053\u3053\u3067\u3001\u672c\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u691c\u8a3c\u3067\u5f97\u305f\u77e5\u898b\u5168\u822c\u306b\u3064\u3044\u3066\u304b\u3044\u3064\u307e\u3093\u3067\u8aac\u660e\u3057\u3001\u30b5\u30f3\u30d7\u30eb\u306b\u3088\u3063\u3066\u306f\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u306b\u9069\u3055\u306a\u3044\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u3001\u3053\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u60aa\u610f\u306e\u3042\u308b\u6d3b\u52d5\u3067\u76ee\u6a19\u3068\u3057\u3066\u3044\u308b\u3057\u304d\u3044\u5024\u306b\u5c4a\u304b\u306a\u3044\u30b1\u30fc\u30b9\u304c\u3042\u308b\u7406\u7531\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u30ea\u30e2\u30fc\u30c8\u304b\u3089\u306e\u8aad\u307f\u8fbc\u307f\u306f\u3001\u9ad8\u5ea6\u306a\u653b\u6483\u3067\u3088\u304f\u898b\u3089\u308c\u308b\u6226\u8853\u3067\u3059\u3002\u305d\u306e\u76ee\u7684\u306f\u3001\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u8868\u306b\u51fa\u3055\u306a\u3044\u3053\u3068\u3067\u5206\u6790\u3092\u56de\u907f\u3059\u308b\u3053\u3068\u306b\u3042\u308a\u307e\u3059\u3002\u305d\u3046\u3057\u305f\u30b1\u30fc\u30b9\u3067\u306f\u3001\u3042\u307e\u308a\u306b\u6c4e\u7528\u7684\u306a\u300c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c0\u30fc\u300d\u4ee5\u4e0a\u306e\u632f\u308b\u821e\u3044\u6307\u6a19\u304c\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u305a\u3001\u610f\u56f3\u306e\u63a8\u6e2c\u306b\u306f\u5f79\u7acb\u305f\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u300cNegative Context (\u30cd\u30ac\u30c6\u30a3\u30d6\u306a\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8)\u300d\u306b\u8a18\u8f09\u3057\u305f\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u552f\u4e00\u5b9f\u884c\u53ef\u80fd\u306a\u8abf\u6574\u3068\u306a\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u3053\u306e\u624b\u306e\u5358\u8a9e\u30ea\u30b9\u30c8\u306e\u7ba1\u7406\u306f\u60aa\u5922\u306a\u306e\u3067\u3001\u3042\u304f\u307e\u3067\u6700\u5f8c\u306e\u624b\u6bb5\u3068\u3057\u3066\u4f7f\u7528\u3059\u3079\u304d\u3067\u3059\u3002<\/li>\n<li>\u8907\u6570\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u304c\u7d44\u307f\u5408\u308f\u305b\u3067\u4f7f\u308f\u308c\u3066\u3044\u308b\u5834\u5408\u3082\u3001\u610f\u56f3\u3092\u6c7a\u5b9a\u3059\u308b\u4e0a\u3067\u554f\u984c\u3068\u306a\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u3001PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u4ee5\u5916\u306e\u8a00\u8a9e\u56fa\u6709\u306e\u69cb\u9020\u306e\u96e3\u8aad\u5316\u3092\u89e3\u9664\u3057\u305f\u308a\u3001\u6b63\u898f\u5316\u3057\u305f\u308a\u3067\u304d\u308b\u3088\u3046\u306b\u306f\u8a2d\u8a08\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002Base64\u3084\u578b\u5909\u63db\u306a\u3069\u3088\u308a\u6c4e\u7528\u7684\u306a\u96e3\u8aad\u5316\u3067\u3042\u308c\u3070\u3046\u307e\u304f\u52d5\u4f5c\u3057\u3066\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u624b\u304c\u304b\u308a\u3092\u660e\u3089\u304b\u306b\u3057\u3066\u304f\u308c\u308b\u30b1\u30fc\u30b9\u3082\u3042\u308a\u307e\u3059\u304c\u3001\u901a\u5e38\u306f\u3042\u307e\u308a\u3042\u3066\u306b\u3059\u3079\u304d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002JavaScript\u3084VBS\u306a\u3069\u3001PowerShell\u3068\u7d44\u307f\u5408\u308f\u305b\u3066\u4f7f\u7528\u3055\u308c\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3067\u306f\u3001\u7279\u5b9a\u306e\u6a5f\u80fd\u306e\u305f\u3081\u306bPowerShell\u3092\u5229\u7528\u3057\u305f\u308a\u3001\u305d\u306e\u9006\u3067PowerShell\u304c\u305d\u308c\u3089\u306e\u8a00\u8a9e\u306e\u7279\u5b9a\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u591a\u3005\u3042\u308a\u307e\u3059\u3002\u8907\u6570\u7a2e\u985e\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u3092\u6df7\u305c\u3066\u4f7f\u3063\u3066\u3044\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u5bfe\u8c61\u3068\u3059\u308b\u306b\u306f\u3001\u3053\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u305d\u308c\u3089\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306b\u3082\u5bfe\u5fdc\u3067\u304d\u308b\u3088\u3046\u62e1\u5f35\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002\u305d\u3046\u3067\u306a\u3044\u304b\u304e\u308a\u3001\u3059\u3079\u3066\u306e\u632f\u308b\u821e\u3044\u304c\u53ef\u8996\u5316\u3055\u308c\u305a\u3001\u4e00\u90e8\u306b\u76f2\u70b9\u304c\u751f\u3058\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/li>\n<li>\u8907\u96d1\u306a\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306e\u4f7f\u7528\u306b\u306f\u4e00\u9577\u4e00\u77ed\u304c\u3042\u308a\u307e\u3059\u3002PowerShell\u306b\u898b\u3089\u308c\u308b\u81a8\u5927\u306a\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306b\u5bfe\u5fdc\u3059\u308b\u305f\u3081\u306b\u3001\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u306f\u610f\u56f3\u7684\u306b\u975e\u5e38\u306b\u3086\u308b\u304f\u3057\u3066\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u306b\u30de\u30c3\u30c1\u30f3\u30b0\u306b\u30df\u30b9\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u306f\u3042\u308a\u3048\u307e\u3059\u3002\u3053\u3053\u3067\u3044\u3046\u30df\u30b9\u306b\u306f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u3067\u898b\u843d\u3068\u3055\u308c\u308b\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u3084\u3001\u904e\u5ea6\u306a\u30de\u30c3\u30c1\u30f3\u30b0\u3001\u305b\u3063\u304b\u304f\u30de\u30c3\u30c1\u3057\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u304c\u5909\u66f4\u3055\u308c\u3066\u3057\u307e\u3063\u3066\u671f\u5f85\u3057\u305f\u632f\u308b\u821e\u3044\u3068\u4e00\u81f4\u3057\u306a\u304f\u306a\u308b\u3001\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u96e3\u8aad\u5316\u306e\u7a2e\u985e\u306b\u95a2\u4fc2\u306a\u304f\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u8b58\u5225\u3059\u308b\u3053\u3068\u3068\u3001\u8aa4\u691c\u51fa(\u507d\u967d\u6027)\u3092\u56de\u907f\u3059\u308b\u3053\u3068\u3068\u306e\u9593\u3067\u3001\u3046\u307e\u304f\u30d0\u30e9\u30f3\u30b9\u306e\u3068\u308c\u308b\u5834\u6240\u3092\u898b\u3064\u3051\u3088\u3046\u3068\u3057\u305f\u7d50\u679c\u751f\u3058\u305f\u3082\u306e\u3067\u3059\u3002<\/li>\n<li>\u4e00\u822c\u7684\u306b\u3044\u3063\u3066\u3001PowerShell\u306e\u67d4\u8edf\u6027\u3092\u60aa\u7528\u3057\u3066\u6975\u7aef\u306a\u96e3\u8aad\u5316\u624b\u6cd5\u3092\u4f7f\u3048\u3070\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u7684\u306b\u9759\u7684\u5206\u6790\u3092\u884c\u3046\u3053\u3068\u306f\u975e\u5e38\u306b\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002\u305d\u306e\u624b\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f\u3001\u3059\u3050\u305d\u308c\u3068\u308f\u304b\u308b\u30e1\u30bf\u7684\u306a\u7279\u5fb4\u3092\u7279\u5b9a\u3067\u304d\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3059\u304c\u3001\u305d\u3046\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u672c\u8cea\u304c\u30b9\u30b3\u30a2\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u305d\u3053\u306f\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002<\/li>\n<li>\u8868\u5c64\u4e0a\u306f\u300c\u60aa\u610f\u306e\u3042\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u300d\u306e\u5b9a\u7fa9\u306b\u5f53\u3066\u306f\u307e\u3089\u306a\u3044\u3088\u3046\u306b\u898b\u3048\u308b\u3053\u3068\u304b\u3089\u3001\u30b9\u30b3\u30a2\u304c\u9ad8\u304f\u306a\u3089\u306a\u3044PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u3082\u5b58\u5728\u3057\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u305d\u3046\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u306a\u304b\u306b\u306f\u3001\u7279\u5b9a\u306e\u898b\u5730\u304b\u3089\u3059\u308c\u3070\u60aa\u610f\u304c\u3042\u308b\u3082\u306e\u3068\u898b\u306a\u3055\u308c\u3046\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001PC\u304c\u8d77\u52d5\u3059\u308b\u305f\u3073\u306bInternet Explorer\u306e\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u3092\u5909\u66f4\u3059\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u3001\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u3092\u884c\u3046PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306a\u3069\u304c\u305d\u308c\u306b\u3042\u305f\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u4f8b\u306f\u3044\u305a\u308c\u3082\u9ad8\u30ec\u30d9\u30eb\u3067\u306f\u60aa\u610f\u306e\u3042\u308b\u306a\u3057\u3067\u8cdb\u5426\u304c\u5206\u304b\u308c\u308b\u3082\u306e\u3068\u601d\u3044\u307e\u3059\u3002\u78ba\u304b\u306b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306f\u91cd\u8981\u306a\u306e\u3067\u3059\u304c\u3001\u305d\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u3058\u305f\u3044\u3001\u5b9f\u306f\u51fa\u529b\u5185\u5bb9\u3092\u89e3\u91c8\u3059\u308b\u4eba\u6b21\u7b2c\u3060\u3001\u3068\u3044\u3046\u3053\u3068\u306b\u6c17\u3065\u304b\u305b\u3066\u304f\u308c\u3082\u3057\u307e\u3059\u3002<\/li>\n<li>Microsoft\u304c\u4f5c\u6210\u3059\u308b\u6a5f\u80fd\u306b\u3088\u308a\u3001\u307e\u305f\u653b\u6483\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3068\u3057\u3066\u3001PowerShell\u306f\u9032\u5316\u3057\u3064\u3065\u3051\u308b\u8a00\u8a9e\u3067\u3059\u3002\u4eca\u5f8c\u3001\u3088\u308a\u653b\u6483\u7684\u306a\u30c4\u30fc\u30eb\u304c\u516c\u958b\u3055\u308c\u305f\u308a\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u304c\u63a1\u7528\u3055\u308c\u305f\u308a\u3059\u308c\u3070\u3001\u632f\u308b\u821e\u3044\u306e\u30ad\u30fc\u30ef\u30fc\u30c9\u306f\u53e4\u304f\u306a\u3063\u3066\u3044\u304f\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u3067\u3059\u304b\u3089\u3001\u7d4c\u6642\u7684\u72b6\u6cc1\u5909\u5316\u3092\u5e38\u306b\u628a\u63e1\u3059\u308b\u306b\u306f\u3001\u3064\u306d\u306b\u3053\u308c\u3089\u306e\u52d5\u5411\u306b\u6ce8\u610f\u3092\u6255\u3063\u3066\u3044\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/li>\n<li>\u30b9\u30b3\u30a2\u30ea\u30f3\u30b0\u306b\u4e00\u5f8b\u306a\u5224\u5b9a\u3092\u4f7f\u308f\u305a\u3001\u30ea\u30b9\u30af\u968e\u8abf\u30b9\u30b1\u30fc\u30eb\u3092\u4f7f\u3046\u5834\u5408\u3001\u305d\u3053\u306b\u89e3\u91c8\u306e\u3042\u3044\u307e\u3044\u3055\u304c\u751f\u3058\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5909\u66f4\u306b\u3088\u308b\u5f71\u97ff\u3092\u6e2c\u5b9a\u3059\u308b\u3053\u3068\u304c\u3055\u3089\u306b\u96e3\u3057\u304f\u306a\u308a\u307e\u3059\u3002\u7b46\u8005\u306f\u958b\u767a\u6bb5\u968e\u3067\u300c\u30b0\u30e9\u30a6\u30f3\u30c9\u30c8\u30a5\u30eb\u30fc\u30b9(\u6b63\u3057\u3044\u7b54\u3048)\u300d\u306e\u30b5\u30f3\u30d7\u30eb\u30bb\u30c3\u30c8\u3092\u5927\u3044\u306b\u6d3b\u7528\u3057\u3001\u632f\u308b\u821e\u3044\u30b9\u30b3\u30a2\u5024\u306e\u5909\u5316\u3001\u65b0\u3057\u3044\u632f\u308b\u821e\u3044\u306e\u8ffd\u52a0\u3001\u8868\u306b\u51fa\u3066\u304d\u305f\u30b3\u30f3\u30c6\u30f3\u30c4\u3001\u96e3\u8aad\u5316\u306e\u89e3\u9664\u6a5f\u80fd\u306e\u8ffd\u52a0\u304c\u500b\u3005\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u3069\u306e\u3088\u3046\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u304b\u3092\u78ba\u8a8d\u3057\u3066\u304d\u307e\u3057\u305f\u304c\u3001\u76ee\u6a19\u306e\u3057\u304d\u3044\u5024\u304c6.0\u3068\u6bd4\u8f03\u7684\u4f4e\u3044\u305f\u3081\u3001\u3069\u306e\u3088\u3046\u306a\u5909\u66f4\u3092\u3057\u305f\u5834\u5408\u3067\u3082\u3001\u30b5\u30f3\u30d7\u30eb\u3092\u8aa4\u3063\u305f\u65b9\u5411\u306b\u5c0e\u304f\u307b\u3069\u5927\u304d\u306a\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3057\u305f\u3002<\/li>\n<\/ul>\n<h4>ScriptBlock\u30ed\u30b0\u3068\u5b9f\u7528\u7684\u306a\u4f7f\u7528\u4f8b<\/h4>\n<p>\u3053\u308c\u307e\u3067\u306e\u8aac\u660e\u3092\u7dcf\u62ec\u3057\u3001PowerShell\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u5730\u3067\u306f\u3069\u3046\u6d3b\u7528\u3059\u3079\u304d\u3067\u3057\u3087\u3046\u304b\u3002\u672c\u30b7\u30ea\u30fc\u30ba\u3092\u7de0\u3081\u304f\u304f\u308b\u306b\u3042\u305f\u308a\u3001\u6d3b\u7528\u65b9\u6cd5\u306e\u30d2\u30f3\u30c8\u3092\u3044\u304f\u3064\u304b\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u4e00\u756a\u308f\u304b\u308a\u3084\u3059\u3044\u306e\u306f\u3001\u30a4\u30f3\u30b7\u30c7\u30f3\u30c8\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u521d\u671f\u6bb5\u968e\u3067\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3057\u3066\u3001PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u5b58\u5728\u3057\u3046\u308b\u632f\u308b\u821e\u3044\u3092\u628a\u63e1\u3059\u308b\u3001\u3068\u3044\u3046\u7528\u9014\u3067\u3057\u3087\u3046\u3002\u3053\u3046\u3057\u3066\u78ba\u8a8d\u3057\u305f\u632f\u308b\u821e\u3044\u3092\u3082\u3068\u306b\u30ea\u30b5\u30fc\u30c1\u306e\u65b9\u5411\u6027\u3084\u3068\u308b\u3079\u304d\u9632\u5fa1\u7b56\u3092\u6c7a\u5b9a\u3059\u308b\u306e\u306b\u4f7f\u3048\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u5bfe\u8c61\u30b5\u30f3\u30d7\u30eb\u304c\u300cDownloader (\u30c0\u30a6\u30f3\u30ed\u30fc\u30c0\u30fc)\u300d\u306e\u632f\u308b\u821e\u3044\u3092\u793a\u3057\u305f\u306e\u3067\u3042\u308c\u3070\u3001\u305f\u3060\u3061\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u304b\u3089\u547c\u3073\u51fa\u3055\u308c\u308b\u30c9\u30e1\u30a4\u30f3\u3084IP\u30a2\u30c9\u30ec\u30b9\u3092\u96c6\u4e2d\u7684\u306b\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u308c\u3089\u306e\u6d3b\u52d5\u5185\u5bb9\u304c\u6b8b\u3063\u3066\u3044\u308b\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ed\u30b0\u306e\u63a2\u7d22\u3092\u59cb\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u540c\u69d8\u306b\u3001\u300cEnumeration (\u5217\u6319)\u300d\u3084\u300cPersistence (\u6c38\u7d9a\u5316)\u300d\u306a\u3069\u306e\u632f\u308b\u821e\u3044\u304c\u898b\u3089\u308c\u305f\u306e\u3067\u3042\u308c\u3070\u3001\u305d\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5185\u5bb9\u304b\u3089\u30ec\u30b8\u30b9\u30c8\u30ea\u30ad\u30fc\u3084\u5024\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u3001\u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306a\u3069\u306e\u72ec\u81ea\u306e\u6a5f\u80fd\u304c\u660e\u3089\u304b\u306b\u306a\u308a\u3001\u305d\u306e\u60c5\u5831\u3092\u3082\u3068\u306b\u3055\u3089\u306b\u30ea\u30b5\u30fc\u30c1\u3092\u9032\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>\u3053\u306e\u307b\u304b\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u3063\u3066\u3001\u793e\u5185\u306b\u3042\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u4e00\u62ec\u30b9\u30ad\u30e3\u30f3\u3092\u304b\u3051\u308b\u3001\u3068\u3044\u3046\u6d3b\u7528\u65b9\u6cd5\u3082\u8003\u3048\u3089\u308c\u307e\u3059\u3002\u305d\u306e\u3055\u3044\u306f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5404\u30db\u30b9\u30c8\u30b7\u30b9\u30c6\u30e0\u306b\u5c55\u958b\u3057\u3001\u30ed\u30fc\u30ab\u30eb\u3067\u5b9f\u884c\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059(\u305f\u3060\u3057\u3053\u306e\u65b9\u6cd5\u306f\u3042\u307e\u308a\u304a\u52e7\u3081\u306f\u3057\u307e\u305b\u3093)\u3002\u3042\u308b\u3044\u306f\u3001\u793e\u5185\u306b\u3042\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u3059\u3079\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u306e\u4e2d\u592e\u96c6\u4e2d\u7ba1\u7406\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u3088\u3046\u306a\u5834\u6240\u306b\u96c6\u3081\u3001\u305d\u3053\u3067\u30b9\u30ad\u30e3\u30f3\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u305d\u306e\u5834\u5408\u3001\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u5bfe\u8c61\u306b\u306a\u3063\u3066\u3044\u306a\u3044\u5834\u6240\u306b\u3042\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u898b\u9003\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u6b8b\u308a\u307e\u3059\u3002\u3044\u305a\u308c\u306e\u65b9\u6cd5\u3067\u53ce\u96c6\u3059\u308b\u306b\u305b\u3088\u3001<a href=\"https:\/\/www.gnu.org\/software\/parallel\/\">GNU Parallel<\/a>\u306a\u3069\u306e\u30c4\u30fc\u30eb\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001\u6570\u5341\u4e07\u5358\u4f4d\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3082\u6bd4\u8f03\u7684\u77ed\u6642\u9593\u3067\u51e6\u7406\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u7b46\u8005\u304c\u691c\u8a3c\u3067\u4f7f\u3063\u305f\u30b5\u30f3\u30d7\u30eb\u30bb\u30c3\u30c8\u306e\u5834\u5408\u3001\u500b\u3005\u306ePowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5e73\u5747\u51e6\u7406\u6642\u9593\u306f\u7d042\u30df\u30ea\u79d2\u3067\u3057\u305f\u306e\u3067\u3001\u5229\u7528\u3067\u304d\u308b\u30ea\u30bd\u30fc\u30b9\u3057\u3060\u3044\u3067\u3046\u307e\u304f\u30b9\u30b1\u30fc\u30eb\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306e\u51e6\u7406\u304c\u6e08\u3093\u3060\u3089\u3001\u30b9\u30b3\u30a2\u3084\u632f\u308b\u821e\u3044\u306e\u7d44\u307f\u5408\u308f\u305b\u3092\u3082\u3068\u306b\u3001\u3069\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u8abf\u67fb\u3092\u3055\u3089\u306b\u9032\u3081\u308b\u3079\u304d\u304b\u3001\u3059\u3070\u3084\u304f\u5224\u65ad\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6700\u5f8c\u306b\u3001ScriptBlock\u30ed\u30b0\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u3053\u3053\u3067\u306f\u3001\u300c\u306a\u306b\u304b\u3057\u3089\u306e\u7406\u7531\u304c\u3042\u3063\u3066\u30ed\u30fc\u30ab\u30eb\u5206\u6790\u3092\u3059\u308b\u305f\u3081\u306b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u96c6\u3081\u308b\u306e\u306f\u624b\u9593\u304c\u304b\u304b\u308a\u3059\u304e\u308b\u304c\u3001\u81ea\u793e\u306b\u306f\u30a8\u30f3\u30c9\u30dd\u30a4\u30f3\u30c8\u304b\u3089\u30ed\u30b0\u3092\u53d6\u308a\u8fbc\u3093\u3067\u3044\u308bSIEM\u306a\u3069\u306e\u30ed\u30b0\u53ce\u96c6\u30b7\u30b9\u30c6\u30e0\u304c\u3042\u308b\u300d\u3082\u306e\u3068\u4eee\u5b9a\u3057\u307e\u3057\u3087\u3046\u3002\u305d\u306e\u3088\u3046\u306a\u7d44\u7e54\u3067\u3042\u308c\u3070\u3001\u793e\u5185\u306b\u306f\u5c11\u306a\u304f\u3068\u3082PowerShell\u306e\u30d0\u30fc\u30b8\u30e7\u30f35.0\u4ee5\u964d\u304c\u5c0e\u5165\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u3068\u601d\u3044\u307e\u3059\u3002Microsoft\u306fPowerShell\u306e\u30d0\u30fc\u30b8\u30e7\u30f35.0\u4ee5\u964d\u3067\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30c8\u30ec\u30fc\u30b9\u3084\u30ed\u30b0\u8a18\u9332\u306e\u6a5f\u80fd\u3092\u5c0e\u5165\u3057\u3066\u3044\u307e\u3059\u3002\u3054\u5b58\u77e5\u3067\u306a\u3044\u304b\u305f\u306e\u305f\u3081\u306b\u88dc\u8db3\u3057\u307e\u3059\u3068\u3001ScriptBlock\u30ed\u30b0\u3092\u30db\u30b9\u30c8\u4e0a\u3067\u6709\u52b9\u306b\u3059\u308b\u3068\u3001PowerShell\u304c\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u5b9f\u884c\u3059\u308b\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30b0\u3092ETW\u30a4\u30d9\u30f3\u30c8\u30ed\u30b0\u306b\u8a18\u9332\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059(Event ID 4104)\u3002<\/p>\n<p>ScriptBlock\u30ed\u30b0\u306e\u4e3b\u306a\u5229\u70b9\u306e1\u3064\u306f\u3001PowerShell\u304c\u30b3\u30fc\u30c9\u3092\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u3066\u5b9f\u884c\u6642\u3059\u308b\u3055\u3044\u306b\u3001\u3053\u3053\u3067\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u9759\u7684\u306b\u3084\u308d\u3046\u3068\u3057\u3066\u3044\u308b\u96e3\u8aad\u5316\u30ec\u30a4\u30e4\u30fc\u306e\u524a\u9664\u3082\u3084\u3063\u3066\u304f\u308c\u308b\u3053\u3068\u3067\u3059\u3002ScriptBlock\u30ed\u30b0\u306e\u3082\u30461\u3064\u306e\u5229\u70b9\u306f\u3001\u81ea\u793e\u30b7\u30b9\u30c6\u30e0\u5168\u4f53\u304b\u3089\u7d4c\u5e38\u7684\u306b\u30a4\u30d9\u30f3\u30c8\u306e\u30b9\u30c8\u30ea\u30fc\u30e0\u3092\u53d6\u308a\u8fbc\u3081\u308b\u70b9\u3067\u3059\u3002\u3053\u308c\u3060\u3068\u3001\u307b\u307c\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u3067\u30a4\u30d9\u30f3\u30c8\u3092\u30c1\u30a7\u30c3\u30af\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3057\u3001\u4fb5\u5bb3\u3055\u308c\u305f\u53ef\u80fd\u6027\u306e\u3042\u308b\u30db\u30b9\u30c8\u3092\u3059\u3070\u3084\u304f\u7279\u5b9a\u3059\u308b\u305f\u3081\u306e\u5c02\u7528\u30a2\u30e9\u30fc\u30c8\u4f5c\u6210\u3082\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u305f\u3060\u3057\u3001ScriptBlock\u30ed\u30b0\u306b\u3082\u305d\u308c\u306a\u308a\u306b\u554f\u984c\u70b9\u306f\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u7b46\u982d\u304c\u3001\u5fc5\u305a\u3057\u3082\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u306e\u5b8c\u5168\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5229\u7528\u3067\u304d\u308b\u308f\u3051\u3067\u306f\u306a\u3044\u3001\u3068\u3044\u3046\u70b9\u3067\u3057\u3087\u3046\u3002\u3053\u306e\u307b\u304b\u3001\u9759\u7684\u5206\u6790\u304c\u52d5\u7684\u5206\u6790\u3088\u308a\u512a\u308c\u3066\u3044\u308b\u70b9\u3068\u3057\u3066\u3001\u9759\u7684\u5206\u6790\u3067\u3042\u308c\u3070PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3059\u308b\u5b9f\u884c\u30d1\u30b9\u306b\u5236\u7d04\u3055\u308c\u306a\u3044\u3068\u3044\u3046\u70b9\u304c\u6319\u3052\u3089\u308c\u307e\u3059\u3002\u7d50\u679c\u3068\u3057\u3066\u9759\u7684\u5206\u6790\u306e\u307b\u3046\u304c\u5bfe\u5fdc\u3067\u304d\u308b\u7bc4\u56f2\u304c\u5e83\u304f\u306a\u308a\u307e\u3059\u3002\u4e00\u65b9\u306eScriptBlock\u30a4\u30d9\u30f3\u30c8\u306f\u3001PowerShell\u304c\u5b9f\u884c\u3057\u305f\u30b3\u30fc\u30c9\u306e\u307f\u304c\u5bfe\u8c61\u3068\u306a\u308a\u307e\u3059\u3002\u52d5\u7684\u89e3\u6790\u306e2\u3064\u76ee\u306e\u554f\u984c\u306f\u3001\u3042\u308b\u7279\u5b9a\u306e\u30b1\u30fc\u30b9\u306b\u51fa\u73fe\u3057\u305f\u632f\u308b\u821e\u3044\u3092\u3059\u3079\u3066\u9069\u5207\u306b\u8b58\u5225\u3059\u308b\u306b\u306f\u3001PowerShell\u304c\u30ed\u30b0\u306b\u8a18\u9332\u3057\u305f\u5b8c\u5168\u306a\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u306e\u30bb\u30c3\u30c8\u304c\u4e0d\u53ef\u6b20\u3001\u3068\u3044\u3046\u70b9\u3067\u3059\u3002\u30a4\u30d9\u30f3\u30c8\u304c\u542b\u3080\u3055\u307e\u3056\u307e\u306a\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u4f7f\u3048\u3070\u3001ScriptBlock\u30a4\u30d9\u30f3\u30c8\u3092\u76f8\u95a2\u3055\u305b\u308b\u3053\u3068\u3082\u3067\u304d\u306a\u304f\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u3089\u3092\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u306b\u307e\u3068\u3081\u308b\u306e\u306f\u5c11\u3005\u9aa8\u304c\u6298\u308c\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3092\u8e0f\u307e\u3048\u3001\u4ee5\u4e0b\u306e\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8\u306f<a href=\"https:\/\/unit42.paloaltonetworks.jp\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-2\/\">\u30b7\u30ea\u30fc\u30ba\u7b2c2\u56de\u306e\u56f38<\/a>\u3067\u793a\u3057\u305f\u306e\u3068\u540c\u3058\u30b5\u30f3\u30d7\u30eb\u306b\u3064\u3044\u3066\u306eScriptBlock\u30a4\u30d9\u30f3\u30c8\u3067\u3059\u3002\u3053\u308c\u3092\u898b\u308c\u3070\u3001\u4eca\u56de\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u3001\u5c55\u958b\u3001\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6f14\u7b97\u5b50\u7f6e\u63db\u3001\u6587\u5b57\u5217\u7f6e\u63db\u306a\u3069\u306e\u3059\u3079\u3066\u306e\u51e6\u7406\u3092\u5b9f\u884c\u3057\u305fPowerShell\u306e\u5b9f\u884c\u7d50\u679c\u306b\u304b\u306a\u308a\u8fd1\u3065\u3044\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_100515\" aria-describedby=\"caption-attachment-100515\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-1024x163.png\" rel=\"wpdevart_lightbox\"><img  class=\"wp-image-100515 size-large lozad\"  data-src=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-1024x163.png\" alt=\"\u56f312 \u96e3\u8aad\u5316\u304c\u89e3\u9664\u3055\u308c\u305fScriptBlock\u30a4\u30d9\u30f3\u30c8\" width=\"1024\" height=\"163\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-1024x163.png 1024w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-300x48.png 300w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-768x123.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-900x144.png 900w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed-370x59.png 370w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-12.-ScriptBlock-event-with-obfuscation-removed.png 1247w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-100515\" class=\"wp-caption-text\">\u56f312 \u96e3\u8aad\u5316\u304c\u89e3\u9664\u3055\u308c\u305fScriptBlock\u30a4\u30d9\u30f3\u30c8<\/figcaption><\/figure>\n<p>\u305f\u3060\u3057ScriptBlock\u30ed\u30b0\u306e\u5834\u5408\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u30d6\u30ed\u30c3\u30af\u304c\u5b9f\u884c\u3055\u308c\u305f\u3053\u3068\u3092\u8868\u793a\u3067\u304d\u308b\u8ffd\u52a0\u306e\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u7528\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u898b\u3064\u3051\u3089\u308c\u306a\u304b\u3063\u305f\u30c7\u30fc\u30bf\u3067\u3059\u3002\u3053\u306e\u30b1\u30fc\u30b9\u3067\u306f\u3001\u6b63\u898f\u8868\u73fe\u30d1\u30bf\u30fc\u30f3\u3092\u4f7f\u7528\u3057\u3066URL\u69cb\u9020\u3068\u30de\u30c3\u30c1\u3055\u305b\u3066\u30de\u30eb\u30a6\u30a7\u30a2\u30d5\u30a1\u30df\u30ea\u3092\u8b58\u5225\u3059\u308b\u306a\u3069\u3001\u3053\u3053\u304b\u3089\u3055\u3089\u306b\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0\u3092\u7d9a\u3051\u3066\u3044\u3051\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_100518\" aria-describedby=\"caption-attachment-100518\" style=\"width: 1024px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/unit42-preview.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-1024x134.png\" rel=\"wpdevart_lightbox\"><img  class=\"wp-image-100518 lozad\"  data-src=\"https:\/\/unit42-preview.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-1024x134.png\" alt=\"\u56f313 ScriptBlock\u30a4\u30d9\u30f3\u30c8\u306b\u3088\u3063\u3066\u660e\u3089\u304b\u306b\u3055\u308c\u305f\u8ffd\u52a0\u306e\u30c7\u30fc\u30bf\" width=\"1024\" height=\"134\" srcset=\"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-1024x134.png 1024w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-300x39.png 300w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-768x100.png 768w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-900x118.png 900w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event-370x48.png 370w, https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2019\/10\/Figure-13.-Additional-data-revealed-by-ScriptBlock-event.png 1040w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption id=\"caption-attachment-100518\" class=\"wp-caption-text\">\u56f313 ScriptBlock\u30a4\u30d9\u30f3\u30c8\u306b\u3088\u3063\u3066\u660e\u3089\u304b\u306b\u3055\u308c\u305f\u8ffd\u52a0\u306e\u30c7\u30fc\u30bf<\/figcaption><\/figure>\n<h2>\u7d50\u8ad6<\/h2>\n<p>\u9759\u7684\u5206\u6790\u306b\u3082\u6b20\u70b9\u304c\u306a\u3044\u308f\u3051\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u304c\u3001\u30b3\u30c4\u3055\u3048\u3064\u304b\u3081\u3070\u3001\u60aa\u610f\u306e\u3042\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u691c\u51fa\u80fd\u529b\u5411\u4e0a\u306b\u4e00\u5f79\u8cb7\u3063\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n<p>\u3053\u3053\u3067\u63d0\u4f9b\u3057\u305f3\u90e8\u69cb\u6210\u30b7\u30ea\u30fc\u30ba\u3068PowerShellProfiler.py\u304c\u3001\u7686\u3055\u3093\u306e\u8abf\u67fb\u529b\u5411\u4e0a\u306e\u30d2\u30f3\u30c8\u3084\u624b\u6bb5\u3068\u3057\u3066\u5f79\u7acb\u3064\u3082\u306e\u3068\u306a\u3063\u305f\u3053\u3068\u3092\u9858\u3063\u3066\u3044\u307e\u3059\u3002\u7d50\u5c40\u306e\u3068\u3053\u308d\u7b46\u8005\u500b\u4eba\u306f\u3001\u3069\u3093\u306a\u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3082\u3044\u3044\u306e\u3067\u7686\u3055\u3093\u304c\u3088\u308a\u30d4\u30f3\u30dd\u30a4\u30f3\u30c8\u306b\u30ea\u30b5\u30fc\u30c1\u5bfe\u8c61\u9818\u57df\u3092\u7d5e\u308a\u8fbc\u3081\u308b\u3088\u3046\u306b\u306a\u308c\u3070\u305d\u308c\u3067\u6e80\u8db3\u3067\u3059\u3002<\/p>\n<p>\u672c\u7a3f\u3067\u89e3\u8aac\u3057\u305fPowerShellProfiler.py\u306f\u3001<a href=\"https:\/\/github.com\/pan-unit42\/public_tools\/blob\/master\/powershellprofiler\/\">Unit 42\u306eGitHub\u30da\u30fc\u30b8<\/a>\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 3\u90e8\u69cb\u6210\u3068\u306a\u308b\u672c\u30b7\u30ea\u30fc\u30ba\u3067\u306f\u3001PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306b\u5bfe\u3059\u308b\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u3068\u3001\u3053\u306e\u9759\u7684\u5206\u6790\u5b9f\u884c\u306e\u305f\u3081\u306e\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u975e\u4f9d\u5b58\u578bPython\u30b9\u30af\u30ea\u30d7\u30c8\u958b\u767a\u306b\u7126\u70b9\u3092\u5f53\u3066\u3066\u3044\u307e\u3059\u3002\u672c\u7a3f\u306f\u7b2c3\u56de\u3067\u3059\u3002\u7b2c<\/p>\n","protected":false},"author":135,"featured_media":134420,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4438,1974,4435],"tags":[6539,5199,6541,6543],"product_categories":[],"coauthors":[422],"class_list":["post-100567","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cybersecurity-tutorials-ja","category-malware-ja","category-learning-hub-ja","tag-malicious-powershell-scripts-ja","tag-powershell-scripts-ja","tag-profiling-scripts-ja","tag-static-analysis-ja"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)<\/title>\n<meta name=\"description\" content=\"PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306e\u305f\u3081\u306e\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u30013\u90e8\u69cb\u6210\u30b7\u30ea\u30fc\u30ba\u7b2c3\u5f3e\u3002\u9759\u7684\u5206\u6790\u306e\u65b9\u6cd5\u8ad6\u3068Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002\u5bfe\u8c61\u8aad\u8005\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30ca\u30ea\u30b9\u30c8\u3084\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u5f53\u8005\u3002\u9759\u7684\u89e3\u6790\u306e\u5b9f\u7528\u7684\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u57fa\u790e\u3068\u6982\u5ff5\u3068\u304c\u8eab\u306b\u3064\u304d\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)\" \/>\n<meta property=\"og:description\" content=\"PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306e\u305f\u3081\u306e\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u30013\u90e8\u69cb\u6210\u30b7\u30ea\u30fc\u30ba\u7b2c3\u5f3e\u3002\u9759\u7684\u5206\u6790\u306e\u65b9\u6cd5\u8ad6\u3068Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002\u5bfe\u8c61\u8aad\u8005\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30ca\u30ea\u30b9\u30c8\u3084\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u5f53\u8005\u3002\u9759\u7684\u89e3\u6790\u306e\u5b9f\u7528\u7684\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u57fa\u790e\u3068\u6982\u5ff5\u3068\u304c\u8eab\u306b\u3064\u304d\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/\" \/>\n<meta property=\"og:site_name\" content=\"Unit 42\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-30T06:32:13+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-25T11:31:18+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/07_Vulnerabilities_1920x900.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"900\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff White\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)","description":"PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306e\u305f\u3081\u306e\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u30013\u90e8\u69cb\u6210\u30b7\u30ea\u30fc\u30ba\u7b2c3\u5f3e\u3002\u9759\u7684\u5206\u6790\u306e\u65b9\u6cd5\u8ad6\u3068Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002\u5bfe\u8c61\u8aad\u8005\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30ca\u30ea\u30b9\u30c8\u3084\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u5f53\u8005\u3002\u9759\u7684\u89e3\u6790\u306e\u5b9f\u7528\u7684\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u57fa\u790e\u3068\u6982\u5ff5\u3068\u304c\u8eab\u306b\u3064\u304d\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/","og_locale":"ja_JP","og_type":"article","og_title":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)","og_description":"PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306e\u305f\u3081\u306e\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u30013\u90e8\u69cb\u6210\u30b7\u30ea\u30fc\u30ba\u7b2c3\u5f3e\u3002\u9759\u7684\u5206\u6790\u306e\u65b9\u6cd5\u8ad6\u3068Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002\u5bfe\u8c61\u8aad\u8005\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30ca\u30ea\u30b9\u30c8\u3084\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u5f53\u8005\u3002\u9759\u7684\u89e3\u6790\u306e\u5b9f\u7528\u7684\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u57fa\u790e\u3068\u6982\u5ff5\u3068\u304c\u8eab\u306b\u3064\u304d\u307e\u3059\u3002","og_url":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/","og_site_name":"Unit 42","article_published_time":"2019-10-30T06:32:13+00:00","article_modified_time":"2025-08-25T11:31:18+00:00","og_image":[{"width":1920,"height":900,"url":"https:\/\/unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/07_Vulnerabilities_1920x900.jpg","type":"image\/jpeg"}],"author":"Jeff White","twitter_card":"summary_large_image","twitter_title":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#article","isPartOf":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/"},"author":{"name":"Jeff White","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/32ecb81b6d2fc5ba9e630880df6a8184"},"headline":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)","datePublished":"2019-10-30T06:32:13+00:00","dateModified":"2025-08-25T11:31:18+00:00","mainEntityOfPage":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/"},"wordCount":174,"commentCount":0,"image":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#primaryimage"},"thumbnailUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/07_Vulnerabilities_1920x900.jpg","keywords":["Malicious PowerShell scripts","PowerShell Scripts","profiling scripts","Static Analysis"],"articleSection":["\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb","\u30de\u30eb\u30a6\u30a7\u30a2","\u30e9\u30fc\u30cb\u30f3\u30b0 \u30cf\u30d6"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/","url":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/","name":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)","isPartOf":{"@id":"https:\/\/unit42.paloaltonetworks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#primaryimage"},"image":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#primaryimage"},"thumbnailUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/07_Vulnerabilities_1920x900.jpg","datePublished":"2019-10-30T06:32:13+00:00","dateModified":"2025-08-25T11:31:18+00:00","author":{"@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/32ecb81b6d2fc5ba9e630880df6a8184"},"description":"PowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u9759\u7684\u5206\u6790\u306e\u305f\u3081\u306e\u5b9f\u7528\u7684\u30a2\u30d7\u30ed\u30fc\u30c1\u30013\u90e8\u69cb\u6210\u30b7\u30ea\u30fc\u30ba\u7b2c3\u5f3e\u3002\u9759\u7684\u5206\u6790\u306e\u65b9\u6cd5\u8ad6\u3068Python\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u958b\u767a\u3092\u884c\u3044\u307e\u3059\u3002\u5bfe\u8c61\u8aad\u8005\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30a2\u30ca\u30ea\u30b9\u30c8\u3084\u30b5\u30a4\u30d0\u30fc\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u62c5\u5f53\u8005\u3002\u9759\u7684\u89e3\u6790\u306e\u5b9f\u7528\u7684\u30b9\u30af\u30ea\u30d7\u30c6\u30a3\u30f3\u30b0\u306e\u57fa\u790e\u3068\u6982\u5ff5\u3068\u304c\u8eab\u306b\u3064\u304d\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#primaryimage","url":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/07_Vulnerabilities_1920x900.jpg","contentUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2024\/06\/07_Vulnerabilities_1920x900.jpg","width":1920,"height":900,"caption":"A cityscape with many highrises at night. From the ground, beacons of light point upward and end in glowing dots."},{"@type":"BreadcrumbList","@id":"https:\/\/unit42.paloaltonetworks.com\/ja\/practical-behavioral-profiling-of-powershell-scripts-through-static-analysis-part-3\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/unit42.paloaltonetworks.com\/ja\/"},{"@type":"ListItem","position":2,"name":"\u9759\u7684\u5206\u6790\u306b\u3088\u308bPowerShell\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u5b9f\u7528\u7684\u632f\u308b\u821e\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30ea\u30f3\u30b0 (3)"}]},{"@type":"WebSite","@id":"https:\/\/unit42.paloaltonetworks.com\/#website","url":"https:\/\/unit42.paloaltonetworks.com\/","name":"Unit 42","description":"Palo Alto Networks","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unit42.paloaltonetworks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/32ecb81b6d2fc5ba9e630880df6a8184","name":"Jeff White","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/unit42.paloaltonetworks.com\/#\/schema\/person\/image\/9213e49ea48b7676660bac40d05c9e3e","url":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2018\/11\/unit-news-meta.svg","contentUrl":"https:\/\/origin-unit42.paloaltonetworks.com\/wp-content\/uploads\/2018\/11\/unit-news-meta.svg","caption":"Jeff White"},"description":"Principal threat researcher, enterprise R&amp;D, FWaaP, Palo Alto Networks","url":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/author\/jeff-white\/"}]}},"_links":{"self":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/100567","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/users\/135"}],"replies":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/comments?post=100567"}],"version-history":[{"count":7,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/100567\/revisions"}],"predecessor-version":[{"id":154327,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/posts\/100567\/revisions\/154327"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/media\/134420"}],"wp:attachment":[{"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/media?parent=100567"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/categories?post=100567"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/tags?post=100567"},{"taxonomy":"product_categories","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/product_categories?post=100567"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/origin-unit42.paloaltonetworks.com\/ja\/wp-json\/wp\/v2\/coauthors?post=100567"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}