Skip to content

Instantly share code, notes, and snippets.

@nort3x
Last active August 4, 2025 21:54
Show Gist options
  • Save nort3x/dde6757cb630afe052331e04ca1ab79e to your computer and use it in GitHub Desktop.
Save nort3x/dde6757cb630afe052331e04ca1ab79e to your computer and use it in GitHub Desktop.
Intellij License Activation 2025 - don't use ja-netfilter

Intro

I personally experienced slow downs and problems using ja-netfilter agent

i decided to inspect how jetbrains check for validity of licenses(because despite the fact i exclusivly told jetbrains to work-offline it still check the licesnse)

these are my conlusions: two domains are responsible for revoking invalid licenses:

you can either block them in your router or locally with these iptable commands

sudo iptables -I OUTPUT -p udp --dport 53 -m string --hex-string "|03|www|09|jetbrains|03|com|" --algo bm -j DROP
sudo iptables -I OUTPUT -p udp --dport 53 -m string --hex-string "|07|account|09|jetbrains|03|com|" --algo bm -j DROP

sudo ip6tables -I OUTPUT -p udp --dport 53 -m string --hex-string "|03|www|09|jetbrains|03|com|" --algo bm -j DROP
sudo ip6tables -I OUTPUT -p udp --dport 53 -m string --hex-string "|07|account|09|jetbrains|03|com|" --algo bm -j DROP

Warning

iptables will reset on reboot unless you make it persistent

to make iptable persistent on ubuntu (after running above iptable commands):

sudo apt install iptables-persistent
sudo iptables-save | sudo tee /etc/iptables/rules.v4 > /dev/null
sudo ip6tables-save | sudo tee /etc/iptables/rules.v6 > /dev/null

why these aggressive?

when i edited /etc/hosts jetbrains started to refuse the 127.0.0.1 as the validity server and started sending out udp requests to well known dns provides:

  • 8.8.8.8
  • 1.1.1.1
  • 1.0.0.1
  • 8.8.4.4
  • 9.9.9.9

i was not expecting that so i decided to complettly ban inteiilj from being resolved on my system from any source,

License key

for now you can use this license key with above config

3XV70IG4VZ-eyJsaWNlbnNlSWQiOiIzWFY3MElHNFZaIiwibGljZW5zZWVOYW1lIjoi5rC45LmF5r+A5rS7IHd3d8K3YWppaHVvwrdjb20iLCJsaWNlbnNlZVR5cGUiOiJQRVJTT05BTCIsImFzc2lnbmVlTmFtZSI6IiIsImFzc2lnbmVlRW1haWw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is not clear.

@nort3x
Copy link
Author

nort3x commented Jul 28, 2025

block any dns request from your machine to domains provided above (for linux iptables commands above) and then use a license key
@ashik1291

@CoderMaximus
Copy link

CoderMaximus commented Jul 29, 2025

key is suspended, can i use any key from jetbra.in or ckey.run?

EDIT: tried some of those keys, it says key is invalid... any idea?

@nort3x
Copy link
Author

nort3x commented Jul 29, 2025

@CoderMaximus the whole point of this gist is to prevent jetbrains check validity of the license, please follow the instructions if you are on linux, for MacOs or windows i have no clue how to configure firewall like i did above

@CoderMaximus
Copy link

CoderMaximus commented Jul 29, 2025

I did do these steps on linux, then tried the key u provided, it said it was suspended, then I tried different keys from jetbra.in and ckey.run, and yet they still returned invalid key. What I meant initially was that I think it was still checking the validity of the key even after running the commands you provided...

@nort3x
Copy link
Author

nort3x commented Aug 1, 2025

@CoderMaximus I've checked this with wireshark it basically prevent those two domains be resolved, you may also want to save this for next reboot (with iptables-persistent)

@CoderMaximus
Copy link

Thanks, but I tried it again, and the netfilter oddly worked this time, maybe because I used an installer script? I also think your commands helped achieve this.

@pius2020
Copy link

pius2020 commented Aug 3, 2025

thank

@nort3x
Copy link
Author

nort3x commented Aug 3, 2025

@CoderMaximus with this you won't require netfilter, only a suspended license, happy hunting

@dimaslanjaka
Copy link

how about windows?

@nort3x
Copy link
Author

nort3x commented Aug 3, 2025

@dimaslanjaka I don't think windows have this specific capability in a native in-house fashion (filtering network packets based on content) , but maybe I'm wrong please write in this thread if otherwise,

to make this happen you "can" have a linux machine network bridged into your windows machine (which ofcourse is blocking packets)
this linux machine can be your router (if your router has such feature)

if you want to dig more you can look at project opnsense (which let you make a software defined router)
happy hunting

@CoderMaximus
Copy link

@nort3x is the suspended license a thing I can obtain?

@dimaslanjaka
Copy link

@dimaslanjaka I don't think windows have this specific capability in a native in-house fashion (filtering network packets based on content) , but maybe I'm wrong please write in this thread if otherwise,

to make this happen you "can" have a linux machine network bridged into your windows machine (which ofcourse is blocking packets) this linux machine can be your router (if your router has such feature)

if you want to dig more you can look at project opnsense (which let you make a software defined router) happy hunting

i read on internet, windows has utility WinDivert, but i dont know how to use it

@ravenere
Copy link

ravenere commented Aug 4, 2025

🇺🇸 English:

you can block connection on windows using C:\Windows\System32\drivers\etc\hosts file

  • open notepad as administrator:
image
  • press ctrl+o and open C:\Windows\System32\drivers\etc\hosts in explorer pop-up
    ⚠️ if you can't find hosts file, check selection of a file format, you need a All files:
image * then add this strings:
127.0.0.1 jetbrains.com
127.0.0.1 account.jetbrains.com

127.0.0.1 is a loopback address, after this operation you may need to reboot or relogin
then try to open jetbrains.com :)

result:

image

sorry for my eng, i have other native language

🇷🇺 Русский

можно заблокировать хосты с помощью файла C:\Windows\System32\drivers\etc\hosts

  • откройте блокнот от имени администратора:
image
  • нажмите ctrl+o и откройте файл C:\Windows\System32\drivers\etc\hosts в открывшимся окне.
    ⚠️ если не появляется файл, проверьте что выбрано показывать "Все файлы (*)"
image
  • как открыли, добавьте эти строки
127.0.0.1 jetbrains.com
127.0.0.1 account.jetbrains.com

после чего перезагрузите ПК или перезайдите в учетку.
затем попробуйте открыть jetbrains.com

Результат::

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment