{"id":474,"date":"2024-10-15T05:15:37","date_gmt":"2024-10-15T05:15:37","guid":{"rendered":"https:\/\/datadandies.nl\/?p=474"},"modified":"2024-10-15T05:16:40","modified_gmt":"2024-10-15T05:16:40","slug":"474","status":"publish","type":"post","link":"https:\/\/datadandies.nl\/index.php\/2024\/10\/15\/474\/","title":{"rendered":"Website built using Python, Docker container and Azure &#8211; Cyber attacks"},"content":{"rendered":"\n<p>The interwebs is a scary place.<\/p>\n\n\n\n<p>I am working on a project where I am developing a webserver using Python as backend and HTML as frontend. With some help of my brother I created a Docker container containing the necessary resources for the website. I pushed the docker image to Azure Container Registry, used this image to deploy a container instance and connected the IP-address to a domain name.<\/p>\n\n\n\n<p>My brother recommended me to check the logs of the container, to see if things were working as expected. Once I did, I started seeing lines like below. The log excerpt below shows a series of HTTP GET requests attempting to access various .env files in different directories of the web server.\u00a0\u201cAttacks\u201d, if you will.<\/p>\n\n\n\n<p>The attacks came from multiple IP adresses, indicating a coordinated attack or a single user using multiple sources. A wide range of directory names were used in the access requests. The requests were made in rapid succession, which is typical of automated scanning tools.<\/p>\n\n\n\n<p>Interesting and scary stuff.<\/p>\n\n\n\n<p>Any of you similar experiences with the wild west of the internet?<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>IP-address 1 &#8211; &#8211; [14\/Oct\/2024 00:44:43] &#8220;[33mGET \/docker.env HTTP\/1.1[0m&#8221; 404 \u2013 <\/p>\n\n\n\n<p>IP-address 2 &#8211; &#8211; [14\/Oct\/2024 00:44:44] &#8220;[33mGET \/docker\/.env HTTP\/1.1[0m&#8221; 404 &#8211;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The interwebs is a scary place. I am working on a project where I am developing a webserver using Python as backend and HTML as frontend. With some help of my brother I created a Docker container containing the necessary resources for the website. I pushed the docker image to Azure Container Registry, used this&hellip;<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/datadandies.nl\/index.php\/2024\/10\/15\/474\/\" class=\"themebutton\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[34,48,47],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-blog","tag-azure","tag-container","tag-docker"],"_links":{"self":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":2,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":476,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/posts\/474\/revisions\/476"}],"wp:attachment":[{"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/datadandies.nl\/index.php\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}