{"id":2535,"date":"2023-10-24T10:55:28","date_gmt":"2023-10-24T08:55:28","guid":{"rendered":"https:\/\/security.humanativaspa.it\/?p=2535"},"modified":"2025-09-15T13:23:41","modified_gmt":"2025-09-15T13:23:41","slug":"customizing-sliver-part-1","status":"publish","type":"post","link":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/","title":{"rendered":"Customizing Sliver &#8211; Part 1"},"content":{"rendered":"<p class=\"graf graf--p\">Lately I\u2019ve been conducting research into <strong>open-source C2 frameworks<\/strong> and I found <a href=\"https:\/\/github.com\/BishopFox\/sliver\">Sliver<\/a> really interesting. Therefore, I\u2019ve started understanding the inner workings of the framework and develop on it, by applying some fixes and adding capabilities such as the <strong class=\"markup--strong markup--p-strong\">reverse port forwarding<\/strong> feature.<\/p>\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\">\n<p lang=\"en\" dir=\"ltr\">Sliver v1.5.27<br \/>* Reverse port forwarding support!<br \/>* Improved support for MSF integrations (byos)<br \/>* Remote machine locale<br \/>* Improved handling of TOTP<br \/>* Dependency updates, and other random improvements<\/p>\n<p>Big thanks to James Golovich and MrAle98 for the PRs!<a href=\"https:\/\/t.co\/MwhMKg0ewy\">https:\/\/t.co\/MwhMKg0ewy<\/a><\/p>\n<p>&mdash; Moloch (@LittleJoeTables) <a href=\"https:\/\/twitter.com\/LittleJoeTables\/status\/1572417917689667584?ref_src=twsrc%5Etfw\">September 21, 2022<\/a><\/p><\/blockquote>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n<p class=\"graf graf--p\">In this <a href=\"https:\/\/hnsecurity.it\/tag\/sliver\/\">series<\/a> of blog posts I aim to provide all the information required in order to <strong>contribute to the Sliver C2 project<\/strong>. The series is split in 3 parts:<\/p>\n<ul class=\"postList\">\n<li class=\"graf graf--li\"><strong>Setting up the development environment<\/strong> (<a href=\"https:\/\/hnsecurity.it\/customizing-sliver-part-1\/\">Part 1<\/a>)<\/li>\n<li class=\"graf graf--li\"><strong>Communication model overview<\/strong> (<a href=\"https:\/\/hnsecurity.it\/customizing-sliver-part-2\/\">Part 2<\/a>)<\/li>\n<li class=\"graf graf--li\"><strong>Creating our first command<\/strong> (<a href=\"https:\/\/hnsecurity.it\/customizing-sliver-part-3\/\">Part 3<\/a>)<\/li>\n<\/ul>\n<p class=\"graf graf--p\">At the end of the series, you should be able to add your own commands to the framework.<\/p>\n<p class=\"graf graf--p\"><em class=\"markup--em markup--p-em\">Disclaimer: I\u2019m not an experienced developer. Therefore, I\u2019ll just show what I typically do in order to develop and test the project, which might be not the best possible way to do so.<\/em><\/p>\n<h2 class=\"graf graf--h4\">Setting up the development environment<\/h2>\n<p class=\"graf graf--p\">In this tutorial, we are going to create a command that gets executed by a Windows implant, with the help of the <a href=\"https:\/\/github.com\/BishopFox\/sliver\/wiki\/Debugging-Sliver\">documentation<\/a>.<\/p>\n<p class=\"graf graf--p\">To follow the tutorial you are going to need:<\/p>\n<ul class=\"postList\">\n<li class=\"graf graf--li\">A Linux machine (I\u2019m going to use Kali but Ubuntu is also fine) as the attacker<\/li>\n<li class=\"graf graf--li\">A Windows machine as the victim<\/li>\n<\/ul>\n<p class=\"graf graf--p\">In the <strong>L<\/strong><strong class=\"markup--strong markup--p-strong\">inux machine<\/strong> you will need to install support for the Go language:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"go\"><span class=\"pre--content\">sudo apt update\r\nsudo apt install golang-<span class=\"hljs-keyword\">go<\/span><\/span><\/pre>\n<p class=\"graf graf--p\">You will also need <a href=\"https:\/\/code.visualstudio.com\/\">Visual Studio Code<\/a>, along with its <strong class=\"markup--strong markup--p-strong\">Go extension<\/strong>. When VSCode prompts you about <strong class=\"markup--strong markup--p-strong\">installing all the other Go utilities<\/strong> (like IntelliSense for Go, delve for debugging Go, etc.) <strong class=\"markup--strong markup--p-strong\">just click yes and install everything<\/strong>.<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*IMxkYCNPPtI8pFs25BKEpA.png\" alt=\"\" width=\"1000\" height=\"183\" data-image-id=\"1*IMxkYCNPPtI8pFs25BKEpA.png\" data-width=\"1366\" data-height=\"250\" \/><figcaption class=\"wp-caption-text\">Go extension for VSCode<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">You will also need to install <strong class=\"markup--strong markup--p-strong\">protoc <\/strong>to modify .proto files. In order to do that, I suggest you to follow the guide already present in the Sliver C2 wiki <a href=\"https:\/\/github.com\/BishopFox\/sliver\/wiki\/Compile-From-Source#developers\">here<\/a>.<\/p>\n<p class=\"graf graf--p\">In the <strong>W<\/strong><strong class=\"markup--strong markup--p-strong\">indows machine<\/strong> you will need to install <strong>G<\/strong><strong class=\"markup--strong markup--p-strong\">o<\/strong> and then <strong class=\"markup--strong markup--p-strong\">delve <\/strong>through the following command<strong class=\"markup--strong markup--p-strong\">:<\/strong><\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"2\" data-code-block-lang=\"bash\"><span class=\"pre--content\">go.exe install github.com\/go-delve\/delve\/cmd\/dlv@latest<\/span><\/pre>\n<p class=\"graf graf--p\">In your <strong>L<\/strong><strong class=\"markup--strong markup--p-strong\">inux machine<\/strong> run the following commands:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"bash\"><span class=\"pre--content\">git <span class=\"hljs-built_in\">clone<\/span> https:\/\/github.com\/BishopFox\/sliver.git\r\n<span class=\"hljs-built_in\">cd<\/span> sliver\r\nmake<\/span><\/pre>\n<p class=\"graf graf--p\">If everything compiled successfully, open the sliver folder in vscode, and create the file <strong class=\"markup--strong markup--p-strong\">.vscode\/launch.json<\/strong> with the following content:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"2\" data-code-block-lang=\"json\"><span class=\"pre--content\"><span class=\"hljs-punctuation\">{<\/span>\r\n    <span class=\"hljs-attr\">\"version\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"0.2.0\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n    <span class=\"hljs-attr\">\"configurations\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-punctuation\">[<\/span>\r\n        <span class=\"hljs-punctuation\">{<\/span>\r\n            <span class=\"hljs-attr\">\"name\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"Launch client\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"type\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"go\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"request\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"launch\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"mode\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"debug\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"program\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"${workspaceFolder}\/client\/main.go\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"buildFlags\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"-tags osusergo,netgo,cgosqlite,sqlite_omit_load_extension,client -ldflags='-X github.com\/bishopfox\/sliver\/client\/version.Version=1.5.22 -X github.com\/bishopfox\/sliver\/client\/version.CompiledAt=Never -X github.com\/bishopfox\/sliver\/client\/version.GithubReleasesURL=github.com -X github.com\/bishopfox\/sliver\/client\/version.GitCommit=aabbcc -X github.com\/bishopfox\/sliver\/client\/version.GitDirty=Dirty'\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"console\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"integratedTerminal\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"xdebugSettings\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-punctuation\">{<\/span> <span class=\"hljs-attr\">\"max_data\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-number\">-1<\/span> <span class=\"hljs-punctuation\">}<\/span>\r\n        <span class=\"hljs-punctuation\">}<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n        <span class=\"hljs-punctuation\">{<\/span>\r\n            <span class=\"hljs-attr\">\"name\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"Launch server\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"type\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"go\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"request\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"launch\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"mode\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"debug\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"program\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"${workspaceFolder}\/server\/main.go\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"buildFlags\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"-tags osusergo,netgo,go_sqlite,server -ldflags='-X github.com\/bishopfox\/sliver\/client\/version.Version=1.1.2 -X github.com\/bishopfox\/sliver\/client\/version.CompiledAt=Never -X github.com\/bishopfox\/sliver\/client\/version.GithubReleasesURL=github.com -X github.com\/bishopfox\/sliver\/client\/version.GitCommit=aabbcc -X github.com\/bishopfox\/sliver\/client\/version.GitDirty=Dirty'\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"console\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-string\">\"integratedTerminal\"<\/span><span class=\"hljs-punctuation\">,<\/span>\r\n            <span class=\"hljs-attr\">\"xdebugSettings\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-punctuation\">{<\/span> <span class=\"hljs-attr\">\"max_data\"<\/span><span class=\"hljs-punctuation\">:<\/span> <span class=\"hljs-number\">-1<\/span> <span class=\"hljs-punctuation\">}<\/span>\r\n        <span class=\"hljs-punctuation\">}<\/span>\r\n    <span class=\"hljs-punctuation\">]<\/span> \r\n<span class=\"hljs-punctuation\">}<\/span><\/span><\/pre>\n<p class=\"graf graf--p\">Then create the file\u00a0<strong class=\"markup--strong markup--p-strong\">.vscode\/settings.json<\/strong> with the following content:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"yaml\"><span class=\"pre--content\">{\r\n    <span class=\"hljs-attr\">\"go.toolsEnvVars\":<\/span> {\r\n        <span class=\"hljs-attr\">\"GOOS\":<\/span> <span class=\"hljs-string\">\"linux\"<\/span>\r\n    },\r\n    <span class=\"hljs-attr\">\"go.delveConfig\":<\/span> {\r\n        <span class=\"hljs-attr\">\"dlvLoadConfig\":<\/span> {\r\n            <span class=\"hljs-attr\">\"maxStringLen\":<\/span> <span class=\"hljs-number\">5000<\/span>,\r\n            <span class=\"hljs-attr\">\"maxArrayValues\":<\/span> <span class=\"hljs-number\">1000<\/span>,\r\n        },\r\n    }\r\n}<\/span><\/pre>\n<p class=\"graf graf--p\">At the end your directory structure should look something like this:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*ypeFGEF4PevbiLMFkcjF5A.png\" alt=\"\" width=\"1000\" height=\"272\" data-image-id=\"1*ypeFGEF4PevbiLMFkcjF5A.png\" data-width=\"1565\" data-height=\"426\" \/><figcaption class=\"wp-caption-text\">Folder structure in VSCode<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">Now in the sliver folder run the following command:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"bash\"><span class=\"pre--content\">.\/go-assets.sh<\/span><\/pre>\n<p class=\"graf graf--p\">And inside VSCode run the server in debug mode by clicking <strong class=\"markup--strong markup--p-strong\">Run and Debug&gt;Launch server<\/strong>:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 816px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*FSB2GEkHpt4__TPEdYwwEQ.png\" alt=\"\" width=\"816\" height=\"469\" data-image-id=\"1*FSB2GEkHpt4__TPEdYwwEQ.png\" data-width=\"816\" data-height=\"469\" \/><figcaption class=\"wp-caption-text\">Launch Sliver server in debug mode<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">A terminal should appear in VSCode with the Sliver server started successfully:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*KrZimxbJ9PyXqDZlNnoiIQ.png\" alt=\"\" width=\"1000\" height=\"461\" data-image-id=\"1*KrZimxbJ9PyXqDZlNnoiIQ.png\" data-width=\"1912\" data-height=\"882\" \/><figcaption class=\"wp-caption-text\">Sliver server running<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">Now in the Sliver console terminal create a new operator and start multiplayer mode:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"javascript\"><span class=\"pre--content\">sliver &gt; <span class=\"hljs-keyword\">new<\/span>-operator -n ale -l <span class=\"hljs-number\">127.0<\/span><span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.1<\/span>\r\n\r\n[*] <span class=\"hljs-title class_\">Generating<\/span> <span class=\"hljs-keyword\">new<\/span> client certificate, please wait ... \r\n[*] <span class=\"hljs-title class_\">Saved<\/span> <span class=\"hljs-keyword\">new<\/span> client config <span class=\"hljs-attr\">to<\/span>: <span class=\"hljs-regexp\">\/home\/<\/span>kali\/sliver\/server\/ale_127<span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.1<\/span>.<span class=\"hljs-property\">cfg<\/span> \r\n\r\nsliver &gt; multiplayer \r\n\r\n[*] <span class=\"hljs-title class_\">Multiplayer<\/span> mode enabled!\r\n\r\nsliver &gt;<\/span><\/pre>\n<p class=\"graf graf--p\">Then import the client configuration file in the Sliver client:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"javascript\"><span class=\"pre--content\">\u250c\u2500\u2500(kali\u327fkali)-[~\/sliver]\r\n\u2514\u2500$ ~<span class=\"hljs-regexp\">\/sliver\/<\/span>sliver-client <span class=\"hljs-keyword\">import<\/span> \/home\/kali\/sliver\/server\/ale_127<span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.1<\/span>.<span class=\"hljs-property\">cfg<\/span>\r\n<span class=\"hljs-number\">2023<\/span>\/<span class=\"hljs-number\">08<\/span>\/<span class=\"hljs-number\">27<\/span> <span class=\"hljs-number\">16<\/span>:<span class=\"hljs-number\">23<\/span>:<span class=\"hljs-number\">13<\/span> <span class=\"hljs-title class_\">Saved<\/span> <span class=\"hljs-keyword\">new<\/span> client config <span class=\"hljs-attr\">to<\/span>: <span class=\"hljs-regexp\">\/home\/<\/span>kali\/.<span class=\"hljs-property\">sliver<\/span>-client\/configs\/ale_127<span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.0<\/span><span class=\"hljs-number\">.1<\/span>.<span class=\"hljs-property\">cfg<\/span>\r\n\r\n\u250c\u2500\u2500(kali\u327fkali)-[~\/sliver]\r\n\u2514\u2500$  <\/span><\/pre>\n<p class=\"graf graf--p\">Now you should be able to launch the client in debug mode in VSCode, by clicking <strong class=\"markup--strong markup--p-strong\">Run and Debug&gt;Launch client<\/strong>:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 498px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*rfAwl9wIWuW0WGS-FuLo1Q.png\" alt=\"\" width=\"498\" height=\"411\" data-image-id=\"1*rfAwl9wIWuW0WGS-FuLo1Q.png\" data-width=\"498\" data-height=\"411\" \/><figcaption class=\"wp-caption-text\">Launch Sliver client in debug mode<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">You should have two terminals running in VSCode; one for the Sliver client one for the server:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*d5TLgv3fmEV21TFNNBNT-A.png\" alt=\"\" width=\"1000\" height=\"460\" data-image-id=\"1*d5TLgv3fmEV21TFNNBNT-A.png\" data-width=\"1910\" data-height=\"879\" \/><figcaption class=\"wp-caption-text\">Two terminals running Sliver client and server<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">At this point, we are able to debug both the client and the server. Let\u2019s now see how to debug the implant in Windows.<\/p>\n<p class=\"graf graf--p\"><strong class=\"markup--strong markup--p-strong\">Debugging the implant<\/strong><\/p>\n<p class=\"graf graf--p\">Let\u2019s first start an HTTP listener and generate the implant:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"bash\"><span class=\"pre--content\">sliver &gt; http -D\r\n\r\n[*] Starting HTTP :80 listener ...\r\n\r\n[*] Successfully started job <span class=\"hljs-comment\">#1<\/span>\r\n\r\nsliver &gt; <span class=\"hljs-built_in\">jobs<\/span>\r\n\r\n ID   Name        Protocol   Port  \r\n==== =========== ========== =======\r\n 1    http        tcp        80    \r\n 2    grpc\/mtls   tcp        31337 \r\n\r\nsliver &gt; generate --http http:\/\/192.168.157.158 -d \r\n\r\n[*] Generating new windows\/amd64 implant binary\r\n[*] Build completed <span class=\"hljs-keyword\">in<\/span> 18s\r\n[*] Implant saved to \/home\/kali\/sliver\/client\/SOLAR_CARRIAGE.exe\r\n\r\nsliver &gt; <\/span><\/pre>\n<p class=\"graf graf--p\">Here the flags of the command \u201cgenerate\u201d are explained:<\/p>\n<ul class=\"postList\">\n<li class=\"graf graf--li\">-d: to specify debug mode. This will make the implant print more information to screen when running.<\/li>\n<li class=\"graf graf--li\">\u200a\u2014\u200ahttp: to specify the implant to connect to the given URL.<\/li>\n<\/ul>\n<p class=\"graf graf--p\">The server is going to generate a folder containing the Go code of the implant at location <strong class=\"markup--strong markup--p-strong\">~\/.sliver\/slivers\/windows\/amd64\/&lt;implant_name&gt;\/src <\/strong>where <strong class=\"markup--strong markup--p-strong\">&lt;implant _name&gt; in this case will be SOLAR_CARRIAGE <\/strong>as printed on screen by the console.<\/p>\n<p class=\"graf graf--p\">So browse to ~\/.sliver\/slivers\/windows\/amd64\/&lt;implant_name&gt;\/ and open the folder in another VSCode window.<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"bash\"><span class=\"pre--content\">\r\n\u250c\u2500\u2500(kali\u327fkali)-[~\/sliver]\r\n\u2514\u2500$ <span class=\"hljs-built_in\">cd<\/span> ~\/.sliver\/slivers\/windows\/amd64\/SOLAR_CARRIAGE\/src                                                                                                                                                                                      \r\n\r\n\u250c\u2500\u2500(kali\u327fkali)-[~\/.sliver\/slivers\/windows\/amd64\/SOLAR_CARRIAGE\/src]\r\n\u2514\u2500$ code .<\/span><\/pre>\n<p class=\"graf graf--p\">Now create the file\u00a0.vscode\/launch.json with the following content:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"cpp\"><span class=\"pre--content\">{\r\n    <span class=\"hljs-string\">\"version\"<\/span>: <span class=\"hljs-string\">\"0.2.0\"<\/span>,\r\n    <span class=\"hljs-string\">\"configurations\"<\/span>: [\r\n        {\r\n            <span class=\"hljs-string\">\"name\"<\/span>: <span class=\"hljs-string\">\"Debug Implant\"<\/span>,\r\n            <span class=\"hljs-string\">\"type\"<\/span>: <span class=\"hljs-string\">\"go\"<\/span>,\r\n            <span class=\"hljs-string\">\"request\"<\/span>: <span class=\"hljs-string\">\"attach\"<\/span>,\r\n            <span class=\"hljs-string\">\"mode\"<\/span>: <span class=\"hljs-string\">\"remote\"<\/span>,\r\n            <span class=\"hljs-string\">\"remotePath\"<\/span>: <span class=\"hljs-string\">\"\"<\/span>,\r\n            <span class=\"hljs-string\">\"port\"<\/span>: REMOTE_PORT, <span class=\"hljs-comment\">\/\/ replace this<\/span>\r\n            <span class=\"hljs-string\">\"host\"<\/span>: <span class=\"hljs-string\">\"REMOTE_HOST\"<\/span> <span class=\"hljs-comment\">\/\/ replace this<\/span>\r\n        }\r\n    ]\r\n}<\/span><\/pre>\n<p class=\"graf graf--p\">Move your implant executable, in this case SOLAR_CARRIAGE.exe, to your Windows machine and run the following command:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"sql\"><span class=\"pre--content\"><span class=\"hljs-operator\">&gt;<\/span> dlv.exe <span class=\"hljs-keyword\">exec<\/span> <span class=\"hljs-comment\">--api-version 2 --headless --listen 192.168.157.131:5555 --log .\\SOLAR_CARRIAGE.exe<\/span>\r\nAPI server listening <span class=\"hljs-keyword\">at<\/span>: <span class=\"hljs-number\">192.168<\/span><span class=\"hljs-number\">.157<\/span><span class=\"hljs-number\">.131<\/span>:<span class=\"hljs-number\">5555<\/span>\r\n<span class=\"hljs-number\">2023<\/span><span class=\"hljs-number\">-08<\/span><span class=\"hljs-number\">-27<\/span>T17:<span class=\"hljs-number\">08<\/span>:<span class=\"hljs-number\">40<\/span><span class=\"hljs-operator\">+<\/span><span class=\"hljs-number\">02<\/span>:<span class=\"hljs-number\">00<\/span> warning layer<span class=\"hljs-operator\">=<\/span>rpc Listening <span class=\"hljs-keyword\">for<\/span> remote connections (connections <span class=\"hljs-keyword\">are<\/span> <span class=\"hljs-keyword\">not<\/span> authenticated nor encrypted)\r\n<span class=\"hljs-number\">2023<\/span><span class=\"hljs-number\">-08<\/span><span class=\"hljs-number\">-27<\/span>T17:<span class=\"hljs-number\">08<\/span>:<span class=\"hljs-number\">40<\/span><span class=\"hljs-operator\">+<\/span><span class=\"hljs-number\">02<\/span>:<span class=\"hljs-number\">00<\/span> info layer<span class=\"hljs-operator\">=<\/span>debugger launching process <span class=\"hljs-keyword\">with<\/span> args: [.\\SOLAR_CARRIAGE.exe]\r\n<span class=\"hljs-number\">2023<\/span><span class=\"hljs-number\">-08<\/span><span class=\"hljs-number\">-27<\/span>T17:<span class=\"hljs-number\">08<\/span>:<span class=\"hljs-number\">41<\/span><span class=\"hljs-operator\">+<\/span><span class=\"hljs-number\">02<\/span>:<span class=\"hljs-number\">00<\/span> debug layer<span class=\"hljs-operator\">=<\/span>debugger Adding target <span class=\"hljs-number\">436<\/span> \"path\\\\to\\\\SOLAR_CARRIAGE.exe\"<\/span><\/pre>\n<p class=\"graf graf--p\">In this case I\u2019ll <strong class=\"markup--strong markup--p-strong\">start a debug server on my Windows machine listening on IP address 192.168.157.131 and port 5555<\/strong>, therefore I\u2019m going to <strong class=\"markup--strong markup--p-strong\">replace REMOTE_HOST and REMOTE_PORT with 192.168.157.131 and 5555<\/strong> <strong class=\"markup--strong markup--p-strong\">inside the launch.json<\/strong> file previously created.<\/p>\n<p class=\"graf graf--p\">My launch.json file will have the following content:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*J4DKcFS_ZjAaTAn6FPPRTg.png\" alt=\"\" width=\"1000\" height=\"387\" data-image-id=\"1*J4DKcFS_ZjAaTAn6FPPRTg.png\" data-width=\"1010\" data-height=\"391\" \/><figcaption class=\"wp-caption-text\">Final content of launch.json<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">Now add the GOOS=windows env variable to VSCode:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 573px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*F1f2Njy9WAn-csYVBjKOog.png\" alt=\"\" width=\"573\" height=\"885\" data-image-id=\"1*F1f2Njy9WAn-csYVBjKOog.png\" data-width=\"573\" data-height=\"885\" \/><figcaption class=\"wp-caption-text\">Go environment variables<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">And select Run and Debug&gt;Debug implant in order to start debugging the implant. You should receive a connection back on the C2 server if everything went fine.<\/p>\n<p class=\"graf graf--p\">Now try to place a breakpoint at function <strong class=\"markup--strong markup--p-strong\">dirListHandler() <\/strong>inside <strong class=\"markup--strong markup--p-strong\">implant\/sliver\/handlers\/handler.go <\/strong>and in the Sliver console launch the command:<\/p>\n<pre class=\"graf graf--pre graf--preV2\" data-code-block-mode=\"1\" data-code-block-lang=\"bash\"><span class=\"pre--content\">[*] Session b0603a12 SOLAR_CARRIAGE - 192.168.157.131:52698 (DESKTOP-URP43TK) - windows\/amd64 - Sun, 27 Aug 2023 17:25:36 CEST\r\n\r\nsliver &gt; use b0603a12\r\n\r\n[*] Active session SOLAR_CARRIAGE (b0603a12-743b-4050-b0ed-43399b5edb3b)\r\n\r\nsliver (SOLAR_CARRIAGE) &gt; <span class=\"hljs-built_in\">ls<\/span>\r\n\r\n<\/span><\/pre>\n<p class=\"graf graf--p\">As you can see in VSCode the breakpoint got hit successfully:<\/p>\n<figure class=\"graf graf--figure\">\n<p><figure style=\"width: 1000px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1000\/1*FpZcanccdbZsWXM20cRSSA.png\" alt=\"\" width=\"1000\" height=\"314\" data-image-id=\"1*FpZcanccdbZsWXM20cRSSA.png\" data-width=\"1524\" data-height=\"479\" \/><figcaption class=\"wp-caption-text\">Breakpoint was hit<\/figcaption><\/figure><\/figure>\n<p class=\"graf graf--p\">You should now be able to debug any component of the framework. This capability will be useful for the next parts of this <a href=\"https:\/\/hnsecurity.it\/tag\/sliver\/\">series<\/a> when defining our new command. Until next time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lately I\u2019ve been conducting research into open-source C2 frameworks and I found Sliver really interesting. Therefore, I\u2019ve started understanding the [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":159957,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[88,91],"tags":[131,135,190,191,192],"class_list":["post-2535","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tools","category-articles","tag-golang","tag-windows","tag-c2","tag-red-teaming","tag-sliver"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>HN Security Customizing Sliver - Part 1<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"HN Security Customizing Sliver - Part 1\" \/>\n<meta property=\"og:description\" content=\"Lately I\u2019ve been conducting research into open-source C2 frameworks and I found Sliver really interesting. Therefore, I\u2019ve started understanding the [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\" \/>\n<meta property=\"og:site_name\" content=\"HN Security\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-24T08:55:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-15T13:23:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"836\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Alessandro Iandoli\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@hnsec\" \/>\n<meta name=\"twitter:site\" content=\"@hnsec\" \/>\n<meta name=\"twitter:label1\" content=\"Scritto da\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessandro Iandoli\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tempo di lettura stimato\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\"},\"author\":{\"name\":\"Alessandro Iandoli\",\"@id\":\"https:\/\/hnsecurity.it\/it\/#\/schema\/person\/7883a9c36dac7694ca101137125d5fff\"},\"headline\":\"Customizing Sliver &#8211; Part 1\",\"datePublished\":\"2023-10-24T08:55:28+00:00\",\"dateModified\":\"2025-09-15T13:23:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\"},\"wordCount\":884,\"publisher\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/#organization\"},\"image\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg\",\"keywords\":[\"golang\",\"windows\",\"c2\",\"red teaming\",\"sliver\"],\"articleSection\":[\"Tools\",\"Articles\"],\"inLanguage\":\"it-IT\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\",\"url\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\",\"name\":\"HN Security Customizing Sliver - Part 1\",\"isPartOf\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg\",\"datePublished\":\"2023-10-24T08:55:28+00:00\",\"dateModified\":\"2025-09-15T13:23:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage\",\"url\":\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg\",\"contentUrl\":\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg\",\"width\":1600,\"height\":836,\"caption\":\"Silver Framework logo\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hnsecurity.it\/it\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Customizing Sliver &#8211; Part 1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hnsecurity.it\/it\/#website\",\"url\":\"https:\/\/hnsecurity.it\/it\/\",\"name\":\"HN Security\",\"description\":\"Offensive Security Specialists\",\"publisher\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hnsecurity.it\/it\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hnsecurity.it\/it\/#organization\",\"name\":\"HN Security\",\"url\":\"https:\/\/hnsecurity.it\/it\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/hnsecurity.it\/it\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2026\/01\/hn-libellula.jpg\",\"contentUrl\":\"https:\/\/hnsecurity.it\/wp-content\/uploads\/2026\/01\/hn-libellula.jpg\",\"width\":696,\"height\":696,\"caption\":\"HN Security\"},\"image\":{\"@id\":\"https:\/\/hnsecurity.it\/it\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/hnsec\",\"https:\/\/www.linkedin.com\/company\/hnsecurity\/\",\"https:\/\/github.com\/hnsecurity\",\"https:\/\/infosec.exchange\/@hnsec\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hnsecurity.it\/it\/#\/schema\/person\/7883a9c36dac7694ca101137125d5fff\",\"name\":\"Alessandro Iandoli\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/644822f5d8329ca419a50c1f39c97de5ccd163d1932e4cdc60a6cc8cb64ed29e?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/644822f5d8329ca419a50c1f39c97de5ccd163d1932e4cdc60a6cc8cb64ed29e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/644822f5d8329ca419a50c1f39c97de5ccd163d1932e4cdc60a6cc8cb64ed29e?s=96&d=mm&r=g\",\"caption\":\"Alessandro Iandoli\"},\"url\":\"https:\/\/hnsecurity.it\/it\/blog\/author\/ale98\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"HN Security Customizing Sliver - Part 1","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:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/","og_locale":"it_IT","og_type":"article","og_title":"HN Security Customizing Sliver - Part 1","og_description":"Lately I\u2019ve been conducting research into open-source C2 frameworks and I found Sliver really interesting. Therefore, I\u2019ve started understanding the [&hellip;]","og_url":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/","og_site_name":"HN Security","article_published_time":"2023-10-24T08:55:28+00:00","article_modified_time":"2025-09-15T13:23:41+00:00","og_image":[{"width":1600,"height":836,"url":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg","type":"image\/jpeg"}],"author":"Alessandro Iandoli","twitter_card":"summary_large_image","twitter_creator":"@hnsec","twitter_site":"@hnsec","twitter_misc":{"Scritto da":"Alessandro Iandoli","Tempo di lettura stimato":"6 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#article","isPartOf":{"@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/"},"author":{"name":"Alessandro Iandoli","@id":"https:\/\/hnsecurity.it\/it\/#\/schema\/person\/7883a9c36dac7694ca101137125d5fff"},"headline":"Customizing Sliver &#8211; Part 1","datePublished":"2023-10-24T08:55:28+00:00","dateModified":"2025-09-15T13:23:41+00:00","mainEntityOfPage":{"@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/"},"wordCount":884,"publisher":{"@id":"https:\/\/hnsecurity.it\/it\/#organization"},"image":{"@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage"},"thumbnailUrl":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg","keywords":["golang","windows","c2","red teaming","sliver"],"articleSection":["Tools","Articles"],"inLanguage":"it-IT"},{"@type":"WebPage","@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/","url":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/","name":"HN Security Customizing Sliver - Part 1","isPartOf":{"@id":"https:\/\/hnsecurity.it\/it\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage"},"image":{"@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage"},"thumbnailUrl":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg","datePublished":"2023-10-24T08:55:28+00:00","dateModified":"2025-09-15T13:23:41+00:00","breadcrumb":{"@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#primaryimage","url":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg","contentUrl":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg","width":1600,"height":836,"caption":"Silver Framework logo"},{"@type":"BreadcrumbList","@id":"https:\/\/hnsecurity.it\/it\/blog\/customizing-sliver-part-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hnsecurity.it\/it\/"},{"@type":"ListItem","position":2,"name":"Customizing Sliver &#8211; Part 1"}]},{"@type":"WebSite","@id":"https:\/\/hnsecurity.it\/it\/#website","url":"https:\/\/hnsecurity.it\/it\/","name":"HN Security","description":"Offensive Security Specialists","publisher":{"@id":"https:\/\/hnsecurity.it\/it\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hnsecurity.it\/it\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/hnsecurity.it\/it\/#organization","name":"HN Security","url":"https:\/\/hnsecurity.it\/it\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/hnsecurity.it\/it\/#\/schema\/logo\/image\/","url":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2026\/01\/hn-libellula.jpg","contentUrl":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2026\/01\/hn-libellula.jpg","width":696,"height":696,"caption":"HN Security"},"image":{"@id":"https:\/\/hnsecurity.it\/it\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/hnsec","https:\/\/www.linkedin.com\/company\/hnsecurity\/","https:\/\/github.com\/hnsecurity","https:\/\/infosec.exchange\/@hnsec"]},{"@type":"Person","@id":"https:\/\/hnsecurity.it\/it\/#\/schema\/person\/7883a9c36dac7694ca101137125d5fff","name":"Alessandro Iandoli","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/644822f5d8329ca419a50c1f39c97de5ccd163d1932e4cdc60a6cc8cb64ed29e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/644822f5d8329ca419a50c1f39c97de5ccd163d1932e4cdc60a6cc8cb64ed29e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/644822f5d8329ca419a50c1f39c97de5ccd163d1932e4cdc60a6cc8cb64ed29e?s=96&d=mm&r=g","caption":"Alessandro Iandoli"},"url":"https:\/\/hnsecurity.it\/it\/blog\/author\/ale98\/"}]}},"jetpack_featured_media_url":"https:\/\/hnsecurity.it\/wp-content\/uploads\/2025\/09\/SILVER.jpg","_links":{"self":[{"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/posts\/2535","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/comments?post=2535"}],"version-history":[{"count":1,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/posts\/2535\/revisions"}],"predecessor-version":[{"id":160125,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/posts\/2535\/revisions\/160125"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/media\/159957"}],"wp:attachment":[{"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/media?parent=2535"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/categories?post=2535"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hnsecurity.it\/it\/wp-json\/wp\/v2\/tags?post=2535"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}