Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Microsoft 365 price jump? Beat it with Office 2021 for life at $40

    10 indispensable Gmail ‘extra’ features I can’t live without

    I don’t need Windows 11 anymore. One final tool freed me from Microsoft

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Blue-collar jobs are gaining popularity as AI threatens office work

      August 17, 2025

      Man who asked ChatGPT about cutting out salt from his diet was hospitalized with hallucinations

      August 15, 2025

      What happens when chatbots shape your reality? Concerns are growing online

      August 14, 2025

      Scientists want to prevent AI from going rogue by teaching it to be bad first

      August 8, 2025

      AI models may be accidentally (and secretly) learning each other’s bad behaviors

      July 30, 2025
    • Business

      Why Certified VMware Pros Are Driving the Future of IT

      August 24, 2025

      Murky Panda hackers exploit cloud trust to hack downstream customers

      August 23, 2025

      The rise of sovereign clouds: no data portability, no party

      August 20, 2025

      Israel is reportedly storing millions of Palestinian phone calls on Microsoft servers

      August 6, 2025

      AI site Perplexity uses “stealth tactics” to flout no-crawl edicts, Cloudflare says

      August 5, 2025
    • Crypto

      Max Keiser Says Flee to El Salvador as Kiyosaki Declares Europe ‘Toast’

      August 31, 2025

      New Mystery Coin on Pump.fun Reportedly Hits $1.8 Million in 24H Volume

      August 31, 2025

      Trump Family’s $750 Million Crypto Deal Raises Questions Ahead of WLFI Token Debut

      August 31, 2025

      CZ Backs DeFi Dominance As Japan Post Bank Unveils $1.3 Trillion Digital Currency Plan

      August 31, 2025

      Hedera (HBAR) Price Eyes New Lows Despite Major Whale Buying Actions

      August 31, 2025
    • Technology

      Microsoft 365 price jump? Beat it with Office 2021 for life at $40

      September 1, 2025

      10 indispensable Gmail ‘extra’ features I can’t live without

      September 1, 2025

      I don’t need Windows 11 anymore. One final tool freed me from Microsoft

      September 1, 2025

      Is a hacker logged into your Google account? Here’s how to find out

      September 1, 2025

      Media Buying Briefing: What’s going to happen with Dentsu outside of Japan?

      September 1, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Check BMI
    Tech AI Verse
    You are at:Home»Technology»Ask HN: Why does the US Visa application website do a port-scan of my network?
    Technology

    Ask HN: Why does the US Visa application website do a port-scan of my network?

    TechAiVerseBy TechAiVerseAugust 20, 2025No Comments20 Mins Read0 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Ask HN: Why does the US Visa application website do a port-scan of my network?
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    BMI Calculator – Check your Body Mass Index for free!

    Ask HN: Why does the US Visa application website do a port-scan of my network?

    “Since looking into it, I noticed that uBlock Origin already has the default list “Block Outsider Intrusion into LAN” but it wasn’t enabled.”

    Never knew that this existed. Thank you!

    Visa application is riddled with scams. From the simple website that charges you twice the price to websites that will tell you that you were rejected and then fake your documents to get in with your name.
    So they’re probably trying to see that you’re not one of those web servers, a proxy for them or detect some known C2 channels.

    That would be quite clever for an incredibly horrible website. The other day my SO, who is a Turkish citizen, was filling up her visa application and after half an hour of meticulous form filling the system just kick her out. I think the session times out or something. If you haven’t created an account or you haven’t write down the current application ID everything is lost. In the process she was also directed to a non-.gov website for something during the process, I thought she was getting scammed but no.

    It actually makes sense to have a paid service that makes this abomination less painful. Though they work with VFS Global for collecting the applications and relevant documents, the VFS Global itself is an abomination and doesn’t help with the handling of the form filling anyway.

    Recently EU streamlined the Schengen visa application process for Turkish citizens as those “visa agencies” that are the official agencies and the only way to apply for a visa for many countries don’t actually help with anything and are scamming people by selling the “good hours” for the visa appointment on the black market. An agency was dropped for this and the scams by agencies were listed among the reasons to streamline the application process.

    Both with US and EU people are losing scholarships etc. due to outrageous wait times that are sometimes are years ahead or there’s an issue with the systems handling the applications.

    I guess there must be an opportunity there to fix all this together with smaller stuff like handling transliteration and character encodings, I wonder if some of those scam site are not scams and actually help with it. An AI agent can be useful here.

    You use the same system for Business visas. Hard to imagine US wouldn’t want those as easy as possible.

    The US executive branch, which implements foreign policy as well as immigration policy, is led by someone who doesn’t understand who pays tariffs, managed to go bankrupt running casinos, and thinks that a trade deficit is not a measurement but an actual sum that one can owe. And likes to micromanage on things he has little to no idea about. So who even knows what’s going on at USCIS except they got their budget illegally shifted to ICE at one point and now an application for naturalization that used to be bog-standard 6-8 months takes 3-4 years to process. But the US laws that controlled who is allowed in or out and how “status” is conceptualized have pretty much always been a hodgepodge of nonsense ever since the country ditched its open borders policy in 1883 to keep out the Chinese, and a lot of it relies on antiquated language ported over from nativism as expressed in the late 1800s and reinterpreted over and over in different ways administratively, and a lot of the vestiges are quite anti-business – sometimes selectively and racistly so – and the current administration have shown no sign of even comprehending the relationship between immigration, investment, and the economy generally, never mind making the system more sensible. I mean, it is the official policy of the ruling party to budget explicitly to shrink the labor pool at a time of declining birth rates and also, that part of the labor pool happens to be the part that pays taxes but receives next to no discretionary grants of entitlement benefits. So does America want business? It sure doesn’t act like it does, and haven’t consistently for quite some time.

    My wife, a green card holder, applied for citizenship in April and was naturalized yesterday (from an EU country). Not that I don’t believe it could be true but where are you getting the 3-4yr timeline? If that’s accurate she/we may have dodged a massive bullet.

    Spouses always get better treatment as there is
    a voter who would be mad otherwise. They check for scam marriages but otherwise hurry the process through – if they don’t a voter contacts their congressman to push the process. That voter will also likely know a lot of other voters and thus influence the next election while someone not married is unlikely to have that local network to use.

    I don’t see how blaming the pre-existing website on the current administration makes sense.

    It’s not new. Rabid ideologues on the other side blamed Obama for things that pre-dated his administration, as well. Some people just can’t be rational when it comes to politicians they don’t like.

    I don’t see how blaming the pre-existing website on the current administration makes sense.

    Many federal web sites were very quickly altered or replaced by the new administration.

    This is common. Work begins on some web sites immediately after the election. For example, when a new president is sworn in, the White House web site flips immediately.

    More to the parent poster’s point, it has been widely reported in the legitimate media repeatedly that many federal web sites have been replaced or significantly altered by the current administration. There’s an entire pseudo-department for it that also makes headlines for its greater transgressions.

    Add to that severe and sudden budget and staffing cuts, and like all government functions — you get what you pay for.

    Elon Musk set out hundreds of very young and arrogant programmers to modify code throughout the federal government including to change decades old code used by Treasury, Social Security, etc. While this went on he would tweet idiotic statements like “Dead people are getting social security!” (because he didn’t understand the deceased have beneficiaries) and “we’re giving social security to people who are 150 years old!” (because he and we presume some subset of his young programmers didn’t understand date fields being set to the epoch indicated the date of birth/death had not been recorded).

    All this is to say we probably shouldn’t assume any current US government website, especially ones that have to do with immigration, hasn’t been completely modified by this team.

    Hard to imagine that the US wouldn’t be as paranoid, self-sabotaging, and bureaucratically inept as possible?

    As I wrote elsewhere; they subcontract the bot protection to F5, an external company that I see for some reason a lot on old/horrible banking websites.

    The hard truth of it all is that both the US and (partially) the EU don’t want to make this easier because seeing as wanting “outside” people is now a political liability. You may want to adjust your expectations around that.

    Turkish tourist are desired, Turks love spending money on restaurants and activities especially since the prices in Turkey have become more expensive than most of the EU. Greeks even introduced special non-Schengen on-arrival visa valid on the Greek islands especially for the Turks. Besides that, EU has “green passport” exception for the Turkish nationals, where they can travel visa-free on this kind of passport that is provided to individuals that meet certain criteria and millions of such passports were issued.

    The rejection rates are also not bad and EU has a “return agreement” with Turkey, which is designed to keep the middle eastern refugees in Turkey(essentially, if you come from Turkey EU can send you back to Turkey right away ).

    Crime rates for Turks show up among the lowest ones, unlike others from the region. So I don’t think that EU is trying to reduce visas for Turks.

    I am EU citizen, I happen to know the Turkish perspective only because spent some years in Turkey and in fact it is the Turkish perspective that that EU doesn’t want them and intentionally makes things harder but the moment you look at what’s actually going on you see that this is not the case, just a Turkish fantasy about the “evil West and snobby Europeans”. Considering that last year 50K Turks applied for asylum in EU and another 100K overstayed their visa, IMHO EU can be considered pretty generous actually with only 15% rejection rate since Turkey is the 2nd country with most applications after China.

    https://home-affairs.ec.europa.eu/news/visa-applications-rea…

    https://ec.europa.eu/eurostat/statistics-explained/index.php…

    The US gov’t has been actively targeting CANADA, one of the countries historically closest trading partners and allies.

    Maybe in the EU it’s all good, but expect a lot of turbulence in the US.

    Another data point – 5he Indian visa system is similar. The official website ending in .gov.in, which is hard to find, offers a visa for $10 and minimal hassle. The scam websites, with better SEO sell the same shit for $80. They’re just proxying your application to the real website and pocketing the difference.

    It would be good if the Indian government could block the scammers but I guess it’s a lower priority for the moment.

    Not sure if this is the case for India, but I’ve experienced similar situations for other countries, but the ‘scam websites’ actually provided a real service – if you needed some ultra-urgent processing (like you only realized you needed a visa to this country before boarding a flight, once you were already at the airport check-in…) they were able to provide 30 minute approval, whereas the official site’s accelerated processing was 24 hours.

    So obviously the only way they could to this is with government contacts meaning the government themselves could already do it, but a lot of immigration stuff everywhere is full of people taking kickbacks.

    Almost certainly, entire industries have been given over to indian scammers and their government allies.

    I found the real website, but the application never went through, always some issue. My boss told me which service to use and everything just worked. (I could expense that service so cost didn’t bother me)

    I’m not too familiar with network side stuff. What would a port scan be able to detect that would indicate that you’re a scammer?

    Just a guess, but maybe a typical bot has a webserver, ssh server, some other servers running on the same machine, whereas a typical Visa applicant doesn’t.

    Huh, how do you imagine that would work? This “scan” is happening inside client-side javascript, delivering the file through a proxy wouldn’t “detect” anything about the proxy.

    I imagine it may not be a proxy in the true sense, but a headless browser that’s “proxying” the application process rather than the network traffic itself.

    Proxy is being used in the traditional sense here. It’s common for a business (scam or legit) to handle visa applications on behalf of customers.

    it’s riddled with scams, and thinking any of this will detect any of the things you mention is very foolish, native and show a total lack of understanding of the scams. of you think using a proxy is essential for visa scam, i would even know where to begin to correct you.

    it’s one hundred per cent clueless privacy invasion. they are probably also opening ports via other means and using that for side channel ID like Facebook does.

    just like any other documentation scam, the only weak point is on the “last mile” that’s why you will always have a human interviewer.

    the visa process is abusive and unpractical because people will work around any hurdle and their kpi will never be affected no matter how crappy they manage to make to whole process. or how many doge kids implement useless privacy invasion tech just because.

    TS seems to be short for TrafficShield (a product of some company F5 acquired in early 2000s) and PD seems to be Proactive Defense (?)

    How and why do browsers allow this? Why wouldn’t the browser ask for permission in the same way that it does for Microphone access?

    It’s insane to allow any random website to port scan my LAN. If this wasn’t a “feature”, I would have considered this a high severity vulnerability

    I’m using uMatrix and it blocks by default all connections outside the requested site and parent domains. For example, if I request https://mail.yahoo.com, connections to yimg.com are blocked. I need to manually allow each CDN for each website, so this attack/profiling won’t work.

    Using uMatrix was very annoying at first, most websites are broken without their CDNs, but after a few months or so, the whitelist grew and it contains 90% of websites I visit.

    On my system https://ceac.state.gov/genniv/ tries to connect to captcha.com, google-analytics, googletagmanager, 127.0.0.1 and “burp” (a local hostname that doesn’t exist in my network). Interestigly, the browser console doesn’t list connection attempts to localhost or burp. If I allow 127.0.0.1 and “tcpdump -i lo”, I see connections to port 8888, which isn’t open.

    How does uMatrix handle the Facebook tracking pixel, or the replacement which is the Conversions API Gateway?

    This is a container that FB gives you to host that lives under your domain (it can be your main domain) that slurps up user data and sends it to Facebook from the server side. You embed some JS in your website, and they hoover up the data.

    It doesn’t handle it. Anyway, there’s no way to know what a website does on the server site. Even a completely static website could be sending the server logs somewhere.

    There are options to not load JS, images, XMLHttpRequests, frames, cookies, for each site, but it doesn’t list individual files.

    But uBlockOrigin UI is so much worse…

    Besides, uMatrix works fine. It’s that kind of program that doesn’t need any updates.

    Until uBO has an even remotely usable interface for this use case people (including myself) will continue to use uMaxtrix or forks of it instead.

    I reluctantly switched to only uBo because of uM bugs. But the UI/UX is just a huge step backwards to enable mobile usability.

    uBO advanced settings still isn’t as flexible as uMatrix was though, fwiw. (I did give in and switch in the end though.)

    It seems like they only make the localhost requests on your first visit. If you open devtools in incognito mode (or just clear the cookies) before accessing https://ceac.state.gov/genniv/ you should see those 127.0.0.1 attempts as ERR_CONNECTION_REFUSED in the network tab.

    Somewhat more worryingly, Little Snitch doesn’t report them at all, though that might just be because they were already blocked at the browser.

    > 400_random_url_with_numbers_403

    That looks so much like test code that was shipped to prod.

    Searches for that string on GH does return results.

    The requests are not made, because some operating systems prevent this.

    If you’re on OSX, the permission to “discover on the local network” prevents it from happening ( System Settings -> Privacy & Security -> Local Network -> yourbrowser )

    Could also be ‘network’ permissions on firefox ( Go to Settings > Privacy & Security > Permissions ) which is on a per site level, but iirc that could be set site-wide at some point.

    The other browsers likely have similar configs, but this is what I have found.

    Whitelisting seems to be the way to go. With IPv6 and OS generated IPs (up to what the ISP domestic router allows) could be very efficient.

    Many sites do it .Included in many standard device fingerprinting / anti anonymity SAAS. Ebay facebook etc all do this ! But it looks this is first party to prevent the adblocking of them

    1MB of obfuscated fingerprinting + portscan + Webgl . But oddity this one is trying to find burp suite specific route’s.

    The company I work for has a legitimate service that runs on the loopback (it provides our web apps APIs for some device integration) hopefully its just as simple as the user accepting the prompt else we’ll be drowning in support.
    We had to go the path of the local service because they killed NPAPI. I’ve been thinking about using web serial as an alternative but Firefox doesn’t support it.

    That being said, I think this is an overall win, hopefully Firefox implements it in a consistent manner as well.

    You should actually harden your browser or PC… to block any unwanted requests. Apparently some browser extensions can do that.

    It would be the job of the operating system to give or take away the ability of your browser to access your local network. But you can run your browser in a container/vm and disable localhost. (And use a separate browser for localhost only if you need it.)

    Just a little side note – in this context, it makes sense if the website tries to connect to a local port because you might be running a card reader(ie. terminal). This is how it works with some(all?) EU countries that have a chip in their ID cards, or even vehicle registration cards, which you can use to access sensitive information or perform certain administrative tasks on government websites.

    Although, from personal experience, it used to require java and it worked only on internet explorer and since it has been retired and replaced with chromium, i am not sure what is the way to make it work nowadays, as i have not been able to figure out to use it when i needed the last time.

    It requires installing a local service that bridges between the browser and the smartcard driver (what Java applets did in earlier years), and that the web app communicates with via requests on localhost. The card-specific driver and bridge service are often bundled together for installation.

    I’ve had it before where it asked me to use an iPhone/Android app which can read the passport’s NFC chip. I guess that’s the modern replacement for IE/Java.

    The “port scan” just seems to be a local connection to 127.0.0.1:8888. I don’t know what purpose it serves on this page, but our government websites often use this technique to communicate with native software for digitally signing documents.

    Are you seeing connection attempts to other IPs?

    Might also be card readers, debug servers, etc.

    Could also be incompetence 😀 until I fixed it, deploying from my local machine rather than CD resulted in one of the baked in URLs being localhost rather than the public host on the project I’m working on now. Their local development server might just be at port 8888. Wouldn’t surprise me.

    I looked at the website again and noticed that the request paths looked odd, one of them being `/400_random_url_with_numbers_403`. I googled that and it looks like it’s part of a client-side bot detection script that’s testing something, the explanation isn’t very informative.

    https://my.f5.com/manage/s/article/K000138794

    > These requests are caused by the bot profile to test the different browser capabilities.

    > “http://news.ycombinator.com/http://127.0.0.1:xxxx‘ request is a call to the localhost/client machine, which is normal when trying to protect assets like end-server using ant-bot defense. It does not have any impact regarding application page load.

    That extension has “Access your data for all websites” … I really don’t get how anyone can give that permission to anyone that isn’t well known (a company with a lot on the line) or a person famous for their work (the uBO dev) who has stated he will never sell to anyone or do bad things.

    “Hacks and Hops” doesn’t even have a valid home page. The extension links to https://g666gle.me/ which does not exist. The domain name itself does not want to make me give access to all my data for all websites to them.

    As nice as this extension seems, I would ever in a million years install it.

    Embarrassed to say that I wasn’t aware of this practice. Are there malicious uses for this beyond fingerprinting?

    Yes. Facebook was using this trick on Android. Meta’s android apps would host a server on localhost, and their sites would communicate with this local server to pass tracking information that would otherwise be blocked by all browser protection methods on Android. I guess it is still fingerprinting, but at the most extreme end.

    https://news.ycombinator.com/item?id=44169115

    CORS can trigger preflight requests, which can be enough to exploit vulnerabilities in routers and other local devices.

    > Blocks malicious websites from port-scanning your computer/network

    How does that work? A browser extension can’t influence how your router and other machines in your network react to incoming requests.

    As far as I understand it, it is supposed to be a scan done by the browser on the user’s computer, not an external scan, which a browser extension wouldn’t be able to detect.

    I see. So the website would try to access private IP adresses (RFC 1918) by having elements like