Alister McDermott, the son of former pace great Craig McDermott crashed through Western Australia's batting after Queensland left an overall lead of just 67.
Western Australia limped across the line to win by one wicket and tighten an already healthy grip in second spot behind Queensland on the Shield ladder.
The Bulls have 30 points from five previous outright victories while WA has 26 points and are eight clear of third-placed Victoria.
McDermott, 20, snatched the first seven West Aussie second-innings wickets, including Australian batting brothers Shaun and Mitchell Marsh, as well as former Test star Marcus North.
McDermott produced his magical spell as the Warriors crumbled to 7-52.
Experienced paceman Ben Cutting then surged the Bulls to the brink of victory with two late-order wickets in succession.
McDermott had astonishing and career-best figures of 7-21 off nine unchanged overs as he threatened to engineer a famous Queensland victory.
Things could have been even worse for the visitors when Nathan Coulter-Nile was dropped at second slip by Ryan Broad from McDermott when WA was still four runs short of the winning score.
Coulter-Nile was out in the next over when he edged a catch to wicketkeeper Chris Hartley off Cutting.
Cutting then found himself on a hat-trick when he dismissed WA spinner Michael Beer with the very next ball, leaving the Warriors at 9-64 still needing four runs to win.
WA paceman Michael Hogan managed to hit the winning runs as his side avoided what could have been a deplorable loss after dismissing Queensland for 251 in their second innings.
The accurate McDermott has continued on the verge of Australian limited--over selection throughout the domestic summer with constantly impressive efforts at Twenty-20, one-day and Shield levels.
His famous Dad, who took 291 scalps in 71 Tests, is the Australian team's current senior bowling coach.
Match scores:
WA 359 and 9-68 defeated Queensland 251 and 175. WA six points for outright victory.