security
48 posts · All topics
- — Safely Passing Ruby Variables to JavaScript in ERB
A user reported a bug in Slava, a bot that syncs Strava activities to Slack, where they couldn’t subscribe to the paid version because their Slack team name contained a quote. T...
- — Commenting on Pull Requests in GitHub Actions
The OpenSearch API specification is authored in OpenAPI and used to auto-generate OpenSearch language clients. I wanted to know how much of the API was described in it vs. the a...
- — Changing the default admin password in OpenSearch
OpenSearch ships with a pretty comprehensive doc on getting started, along with a comprehensive reference to its vast security configuration. This can be a bit overwhelming. Her...
- — Making AWS SigV4 Authenticated Requests to Amazon OpenSearch
Amazon OpenSearch and Amazon OpenSearch Serverless use AWS SigV4 for authentication. We’ve made it dead easy to make authenticated requests across all OpenSearch clients in open...
- — Adding Work E-Mail to a GPG Key and Signing Git Commits
Last week I joined the OpenSearch Team at AWS, a community-driven, open source fork of Elasticsearch and Kibana (read more about it here).
- — Dealing with Strava API OAuth Token Migration
Strava has recently announced changes to the Strava OAuth flow. On October 15, 2019 all applications using the old flow will stop working.
- — Prompting for Github Credentials in Ruby
Last week I wrote a tool to find a Github user’s e-mail address from their commits. One of the annoyances of the original implementation was the need to manually generate a pers...
- — Verifying a Jekyll Site With Keybase.io
The future of communication is signed and sources are trusted. You can find me at keybase.io/dblock.
- — WAFFLE 1.5 Released
- — Single Sign-On: Servlet Negotiate Security Filter (Kerberos + NTLM) w/ Waffle and Jetty
- — Full Client-Server Negotiate SSO in Java w/o a Web Server using WAFFLE
Nice job from @gschrader.
- — Github Hacked: Things to Do on Monday
You should take a serious look at your application and write some tests, first thing Monday.
- — Waffle @ NYJavaSIG
Waffle is a native C# and Java library that does everything Windows authentication (Negotiate, NTLM and Kerberos), on Windows - https://github.com/dblock/waffle/.
- — Updating Devise Trackable Last User Sign-In Time with Devise Rememberable
Devise has a :trackable _strategy which updates the user’s last sign-in time, remote IP and increments a counter in the _User model upon successful logon. This is implemented in...
- — dotNetInstaller 2.0 Released
I’ve released DNI 2.0 today. It’s a major release with a new HTML bootstrapper, better elevation support, Windows 8, etc. It has been stable for quite a while now and a few peop...
- — Sorting Tables in Rails w/ Mongoid
Sorting tables in Rails is a common problem. It must have been done before, right? In fact it has been done so many times that it’s really hard to find anything that “just works...
- — Oracle Didn't Learn From the Redhat Experience, PRs a NoSQL Database
I just came back from Mongo Boston and I am really excited for 10gen. Once again I met actual human beings that were really happy about using a database and wanted to share that...
- — Waffle 1.4 Released
- — Grape: API Authentication w/ Devise
Now that we have dealt with exceptions in our API we need to provide various methods of authentication. We’re going to be talking grape and devise.
- — JNA: Getting currently logged-in user's groups
A Waffle user is asking how to get the groups for a currently logged-in user. You don’t need Waffle to do this, just JNA. The 3.2.7 release has an Advapi32Util class that implem...
- — Technical Lead / Architect Job in NY
- — Waffle / Сейчас всё станет намного сложнее: troubleshooting Kerberos and NTLM
- — 2011 – The Year of NoSQL Data Breaches?
- — dotNetInstaller: UAC Elevation on Install
Following a much pleasing trend of developers contributing major functionality to my open-source projects, @nsleightholm (Neil Sleightholm who works for a company called X2Syste...
- — Waffle: Single Sign-On User Impersonation in Tomcat
- — Waffle: configuring Tomcat's manager application
A user has recently tried to integrate Tomcat’s manager application with Waffle and got puzzling results. It took me a while to figure it out, revealing some creative thinking i...
- — TeamSHATTER: Securing Java Applications with Smart Cards and Single-Sign-On
I recently wrote an article for TeamSHATTER.com that is a shameless plug for WAFFLE, aka a short introduction to implementing Windows single-sign-on in Java. It takes an interes...
- — Waffle + JNA under Tomcat 5.5 Security Manager
I struggled with this one. Here’s how to get JNA and Waffle to work under a Java security manager. In my case I have a Tomcat 5.5 which is launched with -security. Here’s the co...
- — TeamSHATTER.com
TeamSHATTER.com went live yesterday. SHATTER is the AppSecInc team that researches database security vulnerabilities and publishes advisories that have been trusted by the indus...
- — log4jna: log4j:ERROR Could not register event source (Access is denied.)
This is a pretty common problem with NTEventLogAppender (both log4j and log4jna versions) on Windows Vista, 7 or 2008.
- — Stuxnet
- — VMWare ESXi 4.1.0 Automation: Insufficient permissions in host operating system
One of our servers was upgraded to VMWare ESXi 4.1.0 and automation that uses RemoteInstall (and VMWareTasks) broke. The first part was easy, we needed to download and install t...
- — Waffle 1.3 Released
- — Single Sign-On: Spring-Security Negotiate Filter (Kerberos + NTLM) w/Waffle
- — WAFFLE: A PowerPoint Presentation
- — Tomcat Single Sign-On mixed with Form Authentication w/ Waffle
- — Single Sign-On: Servlet Negotiate Security Filter (Kerberos + NTLM) w/ Waffle
Jamais deux sans trois.
- — Windows/Active Directory Authentication: Tomcat + JAAS w/ Waffle
- — NTLM: Please show ID with every POST
Prologue
- — Single Sign-On: Tomcat Negotiate Authenticator (Kerberos + NTLM) w/ Waffle
- — Pure Java Waffle
- — JNA: AcquireCredentialsHandle, InitializeSecurityContext and AcceptSecurityContext - Establishing an Authenticated Connection
I’ve been working on porting WAFFLE to Java/ JNA. As usual I have modest and practical goals with that project: to provide a working example for everything InitializeSecurityCon...
- — JNA: Win32 platform API implementation
Lately I’ve been working on a native Java implementation of Waffle and contributing an increasing amount of code to the java.net JNA project. Waffle has several goals that provi...
- — Oracle 0-day: how complex systems allow simple attacks
- — CryptProtectData and FIPS 140
In the past years at Application Security Inc. I’ve learned a lot about selling software to the US governement, including very secretive organizations such as the CIA, DOJ, IRS,...
- — Vulnerability Assessment: User Rights Review
I rarely blog about my real job. But this is way cool if you’re a nerd in the database security and vulnerability assessment field - you know, the software that helps protect yo...
- — ACL-based authorization model with NHibernate
I’ve posted a long overdue article describing an ACL-based authorization model with NHibernate 2.0. This is the next level of evolution from ACL-based implementations that I’ve ...
- — Rotating Passwords in Active Directory
I posted a CodeProject article entitled “Rotating Passwords in Active Directory”, or how to “change” your password to the same one when those annoying IT guys force you to. It’s...
