惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Cyberwarzone
Cyberwarzone
Jina AI
Jina AI
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Google DeepMind News
Google DeepMind News
博客园 - 司徒正美
宝玉的分享
宝玉的分享
C
Check Point Blog
有赞技术团队
有赞技术团队
小众软件
小众软件
IT之家
IT之家
Vercel News
Vercel News
V2EX - 技术
V2EX - 技术
雷峰网
雷峰网
L
Lohrmann on Cybersecurity
Cloudbric
Cloudbric
Engineering at Meta
Engineering at Meta
Schneier on Security
Schneier on Security
P
Privacy International News Feed
Apple Machine Learning Research
Apple Machine Learning Research
W
WeLiveSecurity
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
J
Java Code Geeks
T
Threatpost
S
Secure Thoughts
T
Tailwind CSS Blog
V
V2EX
Attack and Defense Labs
Attack and Defense Labs
P
Palo Alto Networks Blog
S
Security @ Cisco Blogs
The GitHub Blog
The GitHub Blog
Simon Willison's Weblog
Simon Willison's Weblog
The Register - Security
The Register - Security
AWS News Blog
AWS News Blog
罗磊的独立博客
GbyAI
GbyAI
Blog — PlanetScale
Blog — PlanetScale
Microsoft Azure Blog
Microsoft Azure Blog
Forbes - Security
Forbes - Security
N
News | PayPal Newsroom
博客园 - 叶小钗
Hugging Face - Blog
Hugging Face - Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
Webroot Blog
Webroot Blog
爱范儿
爱范儿

Posts on Noah Bailey

How to turn anything into a router Deploy to Cloudfront from GitHub using OpenID Connect Backup Postgres databases with Kubernetes CronJobs The spelling error made 200 billion times a day Restarting Kubernetes pods using a CronJob You've just bought a new domain. Now what? Who Sawed My Motherboard??? Linux on the P8 Aliexpress Mini Laptop Recovering Mysql/Mariadb after a nasty crash Using EXIF data to pick my next lens Converting and developing RAW photos on Linux automatically Thank you, 2016 iPhone Don't Make It Work Self-hosted Surveillance with ZoneMinder Backups, Monitoring, and Security for small Mastodon servers Block web scanners with ipset & iptables Executing commands over SSH with GitHub Actions Debian Sid on encrypted ZFS Protect your dangerously insecure redis server Debian: the luxurious boring lifestyle Monitor radiation with a Raspberry Pi Simple Linux server alerts: Know your performance, errors, security, syslog, and security NUC crashes on debian 11 - How I fixed it Basic Linux server security with fail2ban, ossec, and firewall Windows 11 will create heaps of needless trash Domesticated Kubernetes Networking The Cursed Certificate Our mostly disposable and entirely stupid world Trying out OpenBSD (as a Linux geek) Making VoIP Calls with Antique Rotary Phones Monitoring WAN speed with speedtest-cli and ElasticSearch Monitoring WAN latency with InfluxDB The Zeroshell botnet returns Installing Gentoo on a vintage Thinkpad T60 Malware emails 2: Russian boogaloo ElasticSearch broke all my nice things (a story of cascading failure) A New Botnet is Targeting Network Infrastructure Malware on the Wire: Monitoring Network Traffic with Suricata and ClamAV Cloud Threat Protection with OSSEC and Suricata Malware Emails From Jerks Surviving the Apocalypse with an Offline Wikipedia Server Being Attacked by Bots Linux Router, Firewall and IDS Appliance You Probably Don't Need a VPN Fix an Oversharded Elasticsearch Cluster Automating KVM Virtualization Update all your linux servers as fast as possible Cleanup Systemd Journald Storage Stop Putting Your SSH Keys on Github! Clustering KVM with Ceph Storage Stealing Windows Sessions FreeRadius Active Directory Integration Retrieving WPA2 Keys on Windows Deploy MDT Litetouch on Linux with TFTPD and Syslinux Generating MSI transform files with Orca The Inflatable Dinghy Generating Cisco IOS config files with Python Homebrew SAN Getting Cloudy
TP-Link Device Weirdness
2020-10-23 · via Posts on Noah Bailey

I recently started using a TP-Link C7 router to host a guest network at my house. I typically avoid consumer/prosumer gear for my network, sticking to either whitebox (homemade) or older enterprise gear. Alas, the price was right ($0). Every time I do encounter one of these devices I always manage to find something fun and interesting to poke…

Bad SSH server

First red flag was the sshd server running on this router.

noah@box ~ $ ssh 192.168.x.y

Unable to negotiate with UNKNOWN port 65535: no matching key exchange method found. Their offer: diffie-hellman-group1-sha1,diffie-hellman-group14-sha1

My system runs OpenSSH_8.4p1 which is quite new, but no brand new device should ask for sha1 ciphers!!

Being stubborn, I tried to finesse the sshd just a little…

$ ssh -T -oKexAlgorithms=+diffie-hellman-group14-sha1 [email protected]
shell request failed on channel 0

D’oh. Must have the shell set to /bin/false to stop people like me from tampering with it…

Annoying discovery service

After a couple days sitting on my network I discovered some spammy logs coming from my firewall:

Oct 22 18:26:48 fw kernel: [427797.807835] IN=ens2 OUT= MAC=ff:ff:ff:ff:ff:ff:d8:47:32:a0:b2:89:08:00 SRC=x.x.x.x DST=255.255.255.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=56307 DPT=7437 LEN=181

Some service on that system is attempting to connect to UDP port 7437. Strange.

Digging in a little deeper, I ran

noah@fw:~$ sudo tcpdump -i eth2 port 7437 -vXX

18:16:58.266688 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto UDP (17), length 201)
    x.x.x.x.56307 > 255.255.255.255.7437: [udp sum ok] UDP, length 173
        0x0000:  ffff ffff ffff d847 32a0 b289 0800 4500  .......G2.....E.
        0x0010:  00c9 0000 4000 4011 1b4e 0acd 140a ffff  ....@[email protected]......
        0x0020:  ffff dbf3 1d0d 00b5 2eea 4b41 4e4e 4f55  ..........KANNOU
        0x0030:  254e 0000 0000 00d8 4732 a0b2 8941 7263  %N......G2...Arc
        0x0040:  6865 7220 4337 2020 2000 0000 0041 7263  her.C7.......Arc
        0x0050:  6865 7220 4337 2020 2000 0000 0000 0000  her.C7..........
        0x0060:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0070:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x0080:  0031 2e30 322e 3639 0000 0000 0000 0000  .1.02.69........
        0x0090:  0000 0000 0000 0001 0000 0001 0000 0002  ................
        0x00a0:  0000 0002 0000 0000 0000 0000 0000 0000  ................
        0x00b0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00c0:  0000 0000 0000 0000 0000 0000 0000 0000  ................
        0x00d0:  0000 0000 0000 00                        .......

Not sure exactly what’s going on here, but the device is broadcasting these pings every ~3 seconds.

The only info I can find on the net is that that port is registered to ‘Faximum’, notably a web service documented two decades ago: http://www.faximum.com/fms/docs/fms-ch3-46.html

It’s very likely that it’s a config assistant utility that uses this for autodiscovery. Since I can’t ssh into the box and disable things properly, I’ll just have to ignore it…

If anybody finds out how to root this device please send me the formula!